class LocalDb {
public:
void Open(const char *path, const char *snapshot_name,
- const char *snapshot_scheme, double intent);
+ const char *snapshot_scheme);
void Close();
void StoreObject(const ObjectReference& ref, double age);
ObjectReference FindObject(const std::string &checksum, int64_t size);
const std::string &checksum,
const std::string &type, int data_size,
int disk_size);
- bool GetSegmentMetadata(const std::string &segment,
- std::string *seg_path, std::string *seg_checksum);
+ std::map<std::string, std::string> GetSegmentMetadata(
+ const std::string &segment);
bool LoadChunkSignatures(ObjectReference ref,
void **buf, size_t *len,