git-annex/doc/todo/fsck_special_remotes.mdwn

12 lines
487 B
Text
Raw Normal View History

2012-01-18 21:30:21 +00:00
`git annex fsck --from remote`
Basically, this needs to receive each file in turn from the remote, to a
temp file, and then run the existing fsck code on it. Could be quite
expensive, but sometimes you really want to check.
An unencrypted directory special remote could be optimised, by not actually
copying the file, just dropping a symlink, etc.
The WORM backend doesn't care about file content, so it would be nice to
avoid transferring the content at all, and only send the size.