diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-02-27 23:16:00 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-02-27 23:16:00 +0100 |
commit | ba8b732d209a891455ef08b81125796dab797435 (patch) | |
tree | d2abdf96ed3798e9c046a847fa3eea04721ca32c /doc | |
parent | fae31edcec43c93a996a1872c68d1c540af0068f (diff) | |
download | guix-ba8b732d209a891455ef08b81125796dab797435.tar.gz |
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'.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 12 |
1 files changed, 12 insertions, 0 deletions
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 |