From 7d403431e354c4a24d7dfdbef3a39ab7297ae7b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Mon, 6 Jan 2020 21:22:07 +0100 Subject: Deep copy of object to different storage --- src/storage.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/storage.h') 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 backend; optional> loadBytes(const Digest & digest) const; + + template + optional copy(const typename S::Ref &, vector *) const; + template + optional copy(const ObjectT &, vector *) const; }; struct Ref::Priv -- cgit v1.2.3