fsck improvements
* fsck: Check if annex.numcopies is satisfied. * fsck: Verify the sha1 of files when the SHA1 backend is used. * fsck: Verify the size of files when the WORM backend is used. * fsck: Allow specifying individual files to fsk if fscking everything is not desired. * fsck: Fix bug, introduced in 0.04, in detection of unused data.
This commit is contained in:
parent
d4d65a3c92
commit
5fa25a812a
15 changed files with 236 additions and 31 deletions
|
@ -59,14 +59,14 @@ subCmds =
|
|||
"sets annexed content for a key using a temp file"
|
||||
, SubCommand "fix" path Command.Fix.seek
|
||||
"fix up symlinks to point to annexed content"
|
||||
, SubCommand "fsck" nothing Command.Fsck.seek
|
||||
"check annex for problems"
|
||||
, SubCommand "fsck" maybepath Command.Fsck.seek
|
||||
"check for problems"
|
||||
]
|
||||
where
|
||||
path = "PATH ..."
|
||||
maybepath = "[PATH ...]"
|
||||
key = "KEY ..."
|
||||
desc = "DESCRIPTION"
|
||||
nothing = ""
|
||||
|
||||
-- Each dashed command-line option results in generation of an action
|
||||
-- in the Annex monad that performs the necessary setting.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue