diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-01-31 21:20:59 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-01-31 21:20:59 +0000 |
commit | 207bdcbe86bac5fb9e650d26b22ae33c667151e4 (patch) | |
tree | 9ef6560b23571b869214cb3cd2381c1d66f620b7 /src/libstore/gc.hh | |
parent | 252c9c91abe146e9c6b16d795c6566df4adafe56 (diff) | |
download | guix-207bdcbe86bac5fb9e650d26b22ae33c667151e4.tar.gz |
* Automatically remove temporary root files.
Diffstat (limited to 'src/libstore/gc.hh')
-rw-r--r-- | src/libstore/gc.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libstore/gc.hh b/src/libstore/gc.hh index c8f908b152..91c5be9140 100644 --- a/src/libstore/gc.hh +++ b/src/libstore/gc.hh @@ -21,5 +21,10 @@ void collectGarbage(const PathSet & roots, GCAction action, deadlock. */ void addTempRoot(const Path & path); +/* Remove the temporary roots file for this process. Any temporary + root becomes garbage after this point unless it has been registered + as a (permanent) root. */ +void removeTempRoots(); + #endif /* !__GC_H */ |