mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-13 06:16:55 -04:00
Add chunks vector to single_inode_fragment
This commit is contained in:
parent
62e3805b13
commit
3c3d67a2d6
@ -31,6 +31,8 @@
|
|||||||
#include "dwarfs/fragment_category.h"
|
#include "dwarfs/fragment_category.h"
|
||||||
#include "dwarfs/types.h"
|
#include "dwarfs/types.h"
|
||||||
|
|
||||||
|
#include "dwarfs/gen-cpp2/metadata_types.h"
|
||||||
|
|
||||||
namespace dwarfs {
|
namespace dwarfs {
|
||||||
|
|
||||||
class single_inode_fragment {
|
class single_inode_fragment {
|
||||||
@ -46,6 +48,7 @@ class single_inode_fragment {
|
|||||||
private:
|
private:
|
||||||
fragment_category category_;
|
fragment_category category_;
|
||||||
file_off_t length_;
|
file_off_t length_;
|
||||||
|
folly::small_vector<thrift::metadata::chunk, 1> chunks_;
|
||||||
};
|
};
|
||||||
|
|
||||||
class inode_fragments {
|
class inode_fragments {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user