1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-08 10:01:01 +01:00

Added possibility to specify garbage collection levels for store paths; so packages can share intermediate results of compilation and GC will collect it automatically while never touching tarballs, for example.

This commit is contained in:
Michael Raskin 2007-11-15 03:47:12 +00:00
parent 5b74a59570
commit 6fc60e2060
2 changed files with 21 additions and 4 deletions

6
src/libstore/gc.hh Normal file
View file

@ -0,0 +1,6 @@
#ifndef __GC_H_INCLUDED
#define __GC_H_INCLUDED
const unsigned int defaultGcLevel = 1000;
#endif //__GC_H_INCLUDED