1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 13:41:15 +02:00

nix path-info --json: Print hash in SRI format

(cherry picked from commit 442e665d6d)
This commit is contained in:
Eelco Dolstra 2020-02-11 23:50:16 +01:00
parent 7a8de57d3e
commit 777e21e596
3 changed files with 6 additions and 3 deletions

View file

@ -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,