projects
/
cumulus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Write out a .sha1sums file with checksums for segments in this snapshot.
[cumulus.git]
/
localdb.h
diff --git
a/localdb.h
b/localdb.h
index
e8a350e
..
6d28cd8
100644
(file)
--- a/
localdb.h
+++ b/
localdb.h
@@
-33,6
+33,8
@@
public:
void SetSegmentChecksum(const std::string &segment, const std::string &path,
const std::string &checksum);
void SetSegmentChecksum(const std::string &segment, const std::string &path,
const std::string &checksum);
+ bool GetSegmentChecksum(const std::string &segment,
+ std::string *seg_path, std::string *seg_checksum);
private:
sqlite3 *db;
int64_t snapshotid;
private:
sqlite3 *db;
int64_t snapshotid;