status: In local mode, displays information about variance from configured numcopies levels.
This commit is contained in:
parent
5c71dc1087
commit
a3bbda5bed
4 changed files with 50 additions and 9 deletions
|
@ -111,7 +111,7 @@ numCopies file = do
|
|||
Just n -> return $ Just n
|
||||
Nothing -> readish <$> checkAttr "annex.numcopies" file
|
||||
|
||||
numCopiesCheck :: FilePath -> Key -> (Int -> Int -> Bool) -> Annex Bool
|
||||
numCopiesCheck :: FilePath -> Key -> (Int -> Int -> v) -> Annex v
|
||||
numCopiesCheck file key vs = do
|
||||
numcopiesattr <- numCopies file
|
||||
needed <- getNumCopies numcopiesattr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue