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:
parent
7a8de57d3e
commit
777e21e596
3 changed files with 6 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue