nix ls-{nar,store} --json: Respect -R
This commit is contained in:
parent
c8155e9f5f
commit
4db0a9555e
4 changed files with 13 additions and 6 deletions
|
|
@ -10,6 +10,9 @@ ref<FSAccessor> makeNarAccessor(ref<const std::string> nar);
|
|||
|
||||
class JSONPlaceholder;
|
||||
|
||||
void listNar(JSONPlaceholder & res, ref<FSAccessor> accessor, const Path & path);
|
||||
/* Write a JSON representation of the contents of a NAR (except file
|
||||
contents). */
|
||||
void listNar(JSONPlaceholder & res, ref<FSAccessor> accessor,
|
||||
const Path & path, bool recurse);
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue