diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2016-10-21T16·09+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2016-10-21T16·09+0200 |
commit | fdbbcc44924cb4d9028fa68b2f7d423fb5d8670f (patch) | |
tree | e2d5e7ef799cd558d10ab25e05efe8d15728fc2a /src/libstore/export-import.cc | |
parent | 542ae5c8f804b704101f9d27bd8b2aa62ded899c (diff) |
Remove addPathToAccessor
Diffstat (limited to 'src/libstore/export-import.cc')
-rw-r--r-- | src/libstore/export-import.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libstore/export-import.cc b/src/libstore/export-import.cc index 883b87217346..c5618c826c54 100644 --- a/src/libstore/export-import.cc +++ b/src/libstore/export-import.cc @@ -117,10 +117,7 @@ Paths Store::importPaths(Source & source, std::shared_ptr<FSAccessor> accessor, if (readInt(source) == 1) readString(source); - addToStore(info, tee.data, false, dontCheckSigs); - - if (accessor) - addPathToAccessor(ref<FSAccessor>(accessor), info.path, tee.data); + addToStore(info, tee.data, false, dontCheckSigs, accessor); res.push_back(info.path); } |