diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-02-02 12:28:56 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-02-02 12:28:56 +0100 |
commit | 7bcc9f2aaf87a08a7570610f45e99754fd74d3f6 (patch) | |
tree | bc6c7346e730783bf1da15d99ce26247cc94668e /src/libstore/local-store.cc | |
parent | 958ec5de568904a07ef050418088d882cbf2ea61 (diff) |
Add convenience overload for toRealPath()
Diffstat (limited to 'src/libstore/local-store.cc')
-rw-r--r-- | src/libstore/local-store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc index e214f0659..a337ad0cc 100644 --- a/src/libstore/local-store.cc +++ b/src/libstore/local-store.cc @@ -1263,7 +1263,7 @@ bool LocalStore::verifyStore(bool checkContents, RepairFlag repair) else hashSink = std::make_unique<HashModuloSink>(info->narHash.type, storePathToHash(printStorePath(info->path))); - dumpPath(toRealPath(printStorePath(i)), *hashSink); + dumpPath(Store::toRealPath(i), *hashSink); auto current = hashSink->finish(); if (info->narHash != nullHash && info->narHash != current.first) { |