diff options
author | Ben Burdette <bburdette@gmail.com> | 2020-04-06 10:00:00 -0600 |
---|---|---|
committer | Ben Burdette <bburdette@gmail.com> | 2020-04-06 10:00:00 -0600 |
commit | 216263c36f7827a1cf578627579f9cb074dc2749 (patch) | |
tree | f9cd590c619319be2b3116f03f1f369051797fcc /src/libstore/store-api.hh | |
parent | 1221ae3dd07959d47d9f27e9d2271671003d2bed (diff) | |
parent | ebb20a5356af023498506324bd0f88a99175e295 (diff) |
Merge branch 'master' into error-format
Diffstat (limited to 'src/libstore/store-api.hh')
-rw-r--r-- | src/libstore/store-api.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libstore/store-api.hh b/src/libstore/store-api.hh index e0484de13..0fa59be6a 100644 --- a/src/libstore/store-api.hh +++ b/src/libstore/store-api.hh @@ -561,6 +561,7 @@ public: each path is included. */ void pathInfoToJSON(JSONPlaceholder & jsonOut, const StorePathSet & storePaths, bool includeImpureInfo, bool showClosureSize, + Base hashBase = Base32, AllowInvalidFlag allowInvalid = DisallowInvalid); /* Return the size of the closure of the specified path, that is, @@ -676,6 +677,11 @@ public: return storePath; } + Path toRealPath(const StorePath & storePath) + { + return toRealPath(printStorePath(storePath)); + } + virtual void createUser(const std::string & userName, uid_t userId) { } |