diff options
Diffstat (limited to 'src/storage.h')
-rw-r--r-- | src/storage.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/storage.h b/src/storage.h index cdb8984..9e22a4a 100644 --- a/src/storage.h +++ b/src/storage.h @@ -103,6 +103,11 @@ struct Storage::Priv shared_ptr<StorageBackend> backend; optional<vector<uint8_t>> loadBytes(const Digest & digest) const; + + template<class S> + optional<Digest> copy(const typename S::Ref &, vector<Digest> *) const; + template<class S> + optional<Digest> copy(const ObjectT<S> &, vector<Digest> *) const; }; struct Ref::Priv |