diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2007-01-14T16·24+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2007-01-14T16·24+0000 |
commit | 8f67b3588603483402440538d7dc326451bbe60d (patch) | |
tree | 4c72877a8e2ea20379249eff1555d9eb6c7b600e /src/libstore/local-store.hh | |
parent | 8659edc0981373a42f123cd7d84b9925be0123bc (diff) |
* Make the garbage collector more resilient to certain consistency
errors: in-use paths now cause a warning, not a fatal error.
Diffstat (limited to 'src/libstore/local-store.hh')
-rw-r--r-- | src/libstore/local-store.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh index 8f4ed8fc82ba..83cb87d451a7 100644 --- a/src/libstore/local-store.hh +++ b/src/libstore/local-store.hh @@ -138,6 +138,8 @@ Path queryDeriver(const Transaction & txn, const Path & path); /* Delete a value from the nixStore directory. */ void deleteFromStore(const Path & path, unsigned long long & bytesFreed); +MakeError(PathInUse, Error); + void verifyStore(bool checkContents); /* Whether we are in build users mode. */ |