- void SetSegmentChecksum(const std::string &segment, const std::string &path,
- const std::string &checksum, int size);
- bool GetSegmentChecksum(const std::string &segment,
+ std::set<std::string> GetUsedSegments();
+ void SetSegmentMetadata(const std::string &segment, const std::string &path,
+ const std::string &checksum,
+ const std::string &type, int data_size,
+ int disk_size);
+ bool GetSegmentMetadata(const std::string &segment,