diff options
Diffstat (limited to 'src/libstore/nar-accessor.hh')
-rw-r--r-- | src/libstore/nar-accessor.hh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libstore/nar-accessor.hh b/src/libstore/nar-accessor.hh index 7699cbbb587d..ed8fe15cad23 100644 --- a/src/libstore/nar-accessor.hh +++ b/src/libstore/nar-accessor.hh @@ -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); } |