git-annex/Remote
Joey Hess 63d508e885
resume properly when copying a file to/from a local git remote is interrupted
Probably this fixes a reversion, but I don't know what version broke it.

This does use withOtherTmp for a temp file that could be quite large.
Though albeit a reflink copy that will not actually take up any space
as long as the file it was copied from still exists. So if the copy cow
succeeds but git-annex is interrupted just before that temp file gets
renamed into the usual .git/annex/tmp/ location, there is a risk that
the other temp directory ends up cluttered with a larger temp file than
later. It will eventually be cleaned up, and the changes of this being
a problem are small, so this seems like an acceptable thing to do.

Sponsored-by: Shae Erisson on Patreon
2021-09-21 17:43:35 -04:00
..
Directory incremental hashing for fileRetriever 2021-08-13 15:43:29 -04:00
External Added GETGITREMOTENAME to extenal special remote protocol 2021-01-26 12:42:47 -04:00
Helper distinguish between incremental verification failing and not being done 2021-08-18 14:38:02 -04:00
List auto-init autoenable=yes 2020-05-27 12:40:35 -04:00
Rsync add newtypes for QuickCheck to avoid LANG=C issues 2020-11-09 20:21:18 -04:00
WebDAV fix exporting when the file is in the top of the repo 2021-03-16 14:17:29 -04:00
Adb.hs incremental verify for directory special remote 2021-08-16 16:51:33 -04:00
BitTorrent.hs incremental verification for web special remote 2021-08-18 15:02:22 -04:00
Borg.hs borg: Avoid trying to extract xattrs, ACLS, and bsdflags 2021-09-03 12:10:14 -04:00
Bup.hs incremental verify for byteRetriever special remotes 2021-08-11 14:20:38 -04:00
Ddar.hs incremental verify for byteRetriever special remotes 2021-08-11 14:20:38 -04:00
Directory.hs resume properly when copying a file to/from a local git remote is interrupted 2021-09-21 17:43:35 -04:00
External.hs improve url download failure display 2021-09-01 15:33:38 -04:00
GCrypt.hs incremental verify for directory special remote 2021-08-16 16:51:33 -04:00
Git.hs improve url download failure display 2021-09-01 15:33:38 -04:00
GitLFS.hs incremental verification for gitlfs and httpalso 2021-08-18 15:17:10 -04:00
Glacier.hs fix build with ghc 9.0.1 2021-09-07 16:53:07 -04:00
Hook.hs incremental verify for directory special remote 2021-08-16 16:51:33 -04:00
HttpAlso.hs incremental verification for gitlfs and httpalso 2021-08-18 15:17:10 -04:00
List.hs start borg special remote 2020-12-18 16:03:51 -04:00
P2P.hs plumb VerifyConfig into retrieveKeyFile 2021-08-17 12:43:13 -04:00
Rsync.hs incremental verify for directory special remote 2021-08-16 16:51:33 -04:00
S3.hs improve url download failure display 2021-09-01 15:33:38 -04:00
Tahoe.hs plumb VerifyConfig into retrieveKeyFile 2021-08-17 12:43:13 -04:00
Web.hs improve url download failure display 2021-09-01 15:33:38 -04:00
WebDAV.hs distinguish between incremental verification failing and not being done 2021-08-18 14:38:02 -04:00