summary refs log tree commit diff
path: root/src/libstore/gc.hh
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2007-11-15 03:47:12 +0000
committerMichael Raskin <7c6f434c@mail.ru>2007-11-15 03:47:12 +0000
commit6fc60e2060be5958c2aad1c859ee60bae5e23980 (patch)
tree6bcec3f010df805204b679e47dc964476ffff36c /src/libstore/gc.hh
parent5b74a5957023bd51b7ba32fc244cb08931507a52 (diff)
downloadguix-6fc60e2060be5958c2aad1c859ee60bae5e23980.tar.gz
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.
Diffstat (limited to 'src/libstore/gc.hh')
-rw-r--r--src/libstore/gc.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libstore/gc.hh b/src/libstore/gc.hh
new file mode 100644
index 0000000000..c86f7678b3
--- /dev/null
+++ b/src/libstore/gc.hh
@@ -0,0 +1,6 @@
+#ifndef  __GC_H_INCLUDED
+#define  __GC_H_INCLUDED
+
+const unsigned int defaultGcLevel = 1000;
+
+#endif //__GC_H_INCLUDED