diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-11-14T13·23+0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-11-14T13·23+0100 |
commit | bac8055652964d9ad5202011befb6b199463ddef (patch) | |
tree | b37165578b2e6b5bf0c0739af636acbfa63c0be9 /src/libstore/nar-accessor.hh | |
parent | c0d93a01ee996427a1ec6b7602e655c8405624d9 (diff) |
nix ls-{store,nar}: Add --json flag
Diffstat (limited to 'src/libstore/nar-accessor.hh')
-rw-r--r-- | src/libstore/nar-accessor.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstore/nar-accessor.hh b/src/libstore/nar-accessor.hh index 83c570be4c7b..7699cbbb587d 100644 --- a/src/libstore/nar-accessor.hh +++ b/src/libstore/nar-accessor.hh @@ -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); + } |