nix ls-{store,nar}: Add --json flag

This commit is contained in:
Eelco Dolstra 2017-11-14 14:23:53 +01:00
parent c0d93a01ee
commit bac8055652
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
4 changed files with 53 additions and 40 deletions

View file

@ -8,4 +8,8 @@ namespace nix {
file. */
ref<FSAccessor> makeNarAccessor(ref<const std::string> nar);
class JSONPlaceholder;
void listNar(JSONPlaceholder & res, ref<FSAccessor> accessor, const Path & path);
}