aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/binary-cache-store.hh
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-05-11 00:22:21 +0200
committereldritch horrors <pennae@lix.systems>2024-07-11 11:39:18 +0000
commit5587dbdcf078586dcc5b9c54af614c1915e9da0a (patch)
tree52c1de6713edddd1579f9d4740afd7e7a4cd4abe /src/libstore/binary-cache-store.hh
parentdf8851f286a407c46ea9107ca403888291f1afbe (diff)
libstore: make BinaryCacheStore::getFile return a source
this lets us remove the last true remaining uses of makeDecompressionSink. Change-Id: I146ca2bbe1a9ae9a367117a7b8a304b23a63e5e2
Diffstat (limited to 'src/libstore/binary-cache-store.hh')
-rw-r--r--src/libstore/binary-cache-store.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/binary-cache-store.hh b/src/libstore/binary-cache-store.hh
index cd963fbf9..6c1f1348c 100644
--- a/src/libstore/binary-cache-store.hh
+++ b/src/libstore/binary-cache-store.hh
@@ -83,7 +83,7 @@ public:
/**
* Dump the contents of the specified file to a sink.
*/
- virtual void getFile(const std::string & path, Sink & sink);
+ virtual box_ptr<Source> getFile(const std::string & path);
virtual std::optional<std::string> getFileContents(const std::string & path);