projects
/
cumulus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Initial cut at re-using objects from old segments when contents match.
[cumulus.git]
/
localdb.h
diff --git
a/localdb.h
b/localdb.h
index
8a45e0e
..
6035e5d
100644
(file)
--- a/
localdb.h
+++ b/
localdb.h
@@
-25,6
+25,7
@@
public:
void Close();
void StoreObject(const ObjectReference& ref,
const std::string &checksum, int64_t size);
+ ObjectReference FindObject(const std::string &checksum, int64_t size);
private:
sqlite3 *db;
};