From ba8b732d209a891455ef08b81125796dab797435 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 27 Feb 2013 23:16:00 +0100 Subject: guix gc: Add `--references' and `--referrers'. * guix/scripts/gc.scm (show-help): Update. (%options): Add `--references' and `--referrers'. (guix-gc)[symlink-target, store-directory]: New procedures. Handle the `list-references' and `list-referrers' actions. * tests/guix-gc.sh: Add tests for `--references'. * doc/guix.texi (Invoking guix gc): Document `--references' and `--referrers'. --- doc/guix.texi | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc/guix.texi') diff --git a/doc/guix.texi b/doc/guix.texi index 6a9ebab1f6..ec784ce349 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -657,6 +657,18 @@ store---i.e., files and directories no longer reachable from any root. @item --list-live Show the list of live store files and directories. + +@end table + +In addition, the references among existing store files can be queried: + +@table @code + +@item --references +@itemx --referrers +List the references (respectively, the referrers) of store files given +as arguments. + @end table -- cgit v1.2.3