aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/store-api.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-02-11 23:50:16 +0100
committerEelco Dolstra <edolstra@gmail.com>2020-03-24 14:26:23 +0100
commit777e21e596ec85f18eddf8b286d9ba4995010835 (patch)
tree5bd690c3111672c5e57c79081d309e5eb76647a2 /src/libstore/store-api.hh
parent7a8de57d3e7e53a4f6d8060c7201f3fbbe6cd325 (diff)
nix path-info --json: Print hash in SRI format
(cherry picked from commit 442e665d6d3fcbdee7dece2f62a597142f8784b1)
Diffstat (limited to 'src/libstore/store-api.hh')
-rw-r--r--src/libstore/store-api.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/store-api.hh b/src/libstore/store-api.hh
index e0484de13..c57a6935e 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,