aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/binary-cache-store.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/binary-cache-store.hh')
-rw-r--r--src/libstore/binary-cache-store.hh10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/libstore/binary-cache-store.hh b/src/libstore/binary-cache-store.hh
index 218a888e3..af2b50084 100644
--- a/src/libstore/binary-cache-store.hh
+++ b/src/libstore/binary-cache-store.hh
@@ -85,15 +85,7 @@ public:
*/
virtual void getFile(const std::string & path, Sink & sink);
- /**
- * Fetch the specified file and call the specified callback with
- * the result. A subclass may implement this asynchronously.
- */
- virtual void getFile(
- const std::string & path,
- Callback<std::optional<std::string>> callback) noexcept;
-
- std::optional<std::string> getFile(const std::string & path);
+ virtual std::optional<std::string> getFile(const std::string & path);
public: