diff options
author | Joey Hess <joeyh@joeyh.name> | 2019-01-17 15:40:44 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2019-01-17 16:02:22 -0400 |
commit | d5f2463702a7cd8e56ea000e21bfe5d4ba9cd386 (patch) | |
tree | d9e01068b5574b867b2047a0da23e9568ee04a91 /Types/CleanupActions.hs | |
parent | 6de8ce8bb1d5e078d21df6d64a984a16635996ac (diff) |
misctmp cleanup
* Switch to using .git/annex/othertmp for tmp files other than partial
downloads, and make stale files left in that directory when git-annex
is interrupted be cleaned up promptly by subsequent git-annex processes.
* The .git/annex/misctmp directory is no longer used and git-annex will
delete anything lingering in there after it's 1 week old.
Also, in Annex.Ingest, made the filename it uses in the tmp dir be
prefixed with "ingest-" to avoid potentially using a filename used by
some other code.
Diffstat (limited to 'Types/CleanupActions.hs')
-rw-r--r-- | Types/CleanupActions.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Types/CleanupActions.hs b/Types/CleanupActions.hs index 508579643c..22cbaf55cd 100644 --- a/Types/CleanupActions.hs +++ b/Types/CleanupActions.hs @@ -17,4 +17,5 @@ data CleanupAction | FsckCleanup | SshCachingCleanup | TorrentCleanup URLString + | OtherTmpCleanup deriving (Eq, Ord) |