aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/remote-fs-accessor.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-07-14 13:56:18 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-07-14 13:56:18 +0200
commit832e111494d2d3acf3f919376d0f2765042946cc (patch)
tree5a14379a9aba8fe0edf19afde251d7ae8eab2a00 /src/libstore/remote-fs-accessor.hh
parent9223603908abaa62711296aa224e1bc3d7fb0a91 (diff)
parent926c3a6664a9dfb288ca35af8aae40c4e4a2badb (diff)
Merge remote-tracking branch 'origin/master' into flakes
Diffstat (limited to 'src/libstore/remote-fs-accessor.hh')
-rw-r--r--src/libstore/remote-fs-accessor.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstore/remote-fs-accessor.hh b/src/libstore/remote-fs-accessor.hh
index 4afb3be95..347cf5764 100644
--- a/src/libstore/remote-fs-accessor.hh
+++ b/src/libstore/remote-fs-accessor.hh
@@ -10,7 +10,7 @@ class RemoteFSAccessor : public FSAccessor
{
ref<Store> store;
- std::map<Path, ref<FSAccessor>> nars;
+ std::map<std::string, ref<FSAccessor>> nars;
Path cacheDir;
@@ -18,9 +18,9 @@ class RemoteFSAccessor : public FSAccessor
friend class BinaryCacheStore;
- Path makeCacheFile(const Path & storePath, const std::string & ext);
+ Path makeCacheFile(std::string_view hashPart, const std::string & ext);
- void addToCache(const Path & storePath, const std::string & nar,
+ void addToCache(std::string_view hashPart, const std::string & nar,
ref<FSAccessor> narAccessor);
public: