From aa3bc3d5dcff5ff6567a4e00320cb9caa28c5a93 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 29 Apr 2016 13:57:08 +0200 Subject: Eliminate the substituter mechanism Substitution is now simply a Store -> Store copy operation, most typically from BinaryCacheStore to LocalStore. --- src/libstore/store-api.hh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/libstore/store-api.hh') diff --git a/src/libstore/store-api.hh b/src/libstore/store-api.hh index e0cc32296a9b..87b8e884759c 100644 --- a/src/libstore/store-api.hh +++ b/src/libstore/store-api.hh @@ -533,6 +533,12 @@ ref openLocalBinaryCacheStore(std::shared_ptr localStore, const Path & secretKeyFile, const Path & binaryCacheDir); +/* Return the default substituter stores, defined by the + ‘substituters’ option and various legacy options like + ‘binary-caches’. */ +std::list> getDefaultSubstituters(); + + /* Store implementation registration. */ typedef std::function(const std::string & uri)> OpenStore; -- cgit 1.4.1