Add chunks vector to single_inode_fragment

This commit is contained in:
Marcus Holland-Moritz 2023-07-19 14:39:42 +02:00
parent 62e3805b13
commit 3c3d67a2d6

View File

@ -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 {