diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-06-18T14·20+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-06-18T14·20+0000 |
commit | d3aa183beb774c20cb77052248cf45e684d134fb (patch) | |
tree | dff630ec4a8a0af08added558a1f6b753edfd5dd /src/libmain/shared.hh | |
parent | a8f3b02092fcc08fb25fb327d0188ffc888120bb (diff) |
* Garbage collector: option `--max-freed' to stop after at least N
bytes have been freed, `--max-links' to stop when the Nix store directory has fewer than N hard links (the latter being important for very large Nix stores on filesystems with a 32000 subdirectories limit).
Diffstat (limited to 'src/libmain/shared.hh')
-rw-r--r-- | src/libmain/shared.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libmain/shared.hh b/src/libmain/shared.hh index 62f505189f83..c38eeaf48131 100644 --- a/src/libmain/shared.hh +++ b/src/libmain/shared.hh @@ -26,6 +26,9 @@ namespace nix { Path makeRootName(const Path & gcRoot, int & counter); void printGCWarning(); +unsigned int getIntArg(const string & opt, + Strings::iterator & i, const Strings::iterator & end); + /* Whether we're running setuid. */ extern bool setuidMode; |