diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-08-01T23·14-0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-08-01T23·14-0400 |
commit | 967d066d8e452e59507ebae7585d6f34a4edf687 (patch) | |
tree | 15607d4c9389a274dda1ce659a41e10b06c98f12 /src/libstore/store-api.hh | |
parent | 1df702d34733e69599a6ae21cb366348a2534b7d (diff) |
nix-store --gc: Make ‘--max-freed 0’ do the right thing
That is, delete almost nothing (it will still remove unused links from /nix/store/.links).
Diffstat (limited to 'src/libstore/store-api.hh')
-rw-r--r-- | src/libstore/store-api.hh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstore/store-api.hh b/src/libstore/store-api.hh index 9ba67852efec..c0fb50f23dd2 100644 --- a/src/libstore/store-api.hh +++ b/src/libstore/store-api.hh @@ -48,8 +48,7 @@ struct GCOptions /* For `gcDeleteSpecific', the paths to delete. */ PathSet pathsToDelete; - /* Stop after at least `maxFreed' bytes have been freed. 0 means - no limit. */ + /* Stop after at least `maxFreed' bytes have been freed. */ unsigned long long maxFreed; GCOptions(); |