diff options
author | 2013-09-15 19:10:38 -0400 | |
---|---|---|
committer | 2013-09-15 19:10:38 -0400 | |
commit | 3e1db1805d5da0ea2c06cfdf7f5f8d0175014127 (patch) | |
tree | 9d6dd3d76872095540a57beaa72138f10aa13549 /Command.hs | |
parent | 955466b852889ff96ee00bb72fe852769b6e0af0 (diff) |
status: In local mode, displays information about variance from configured numcopies levels.
Diffstat (limited to 'Command.hs')
-rw-r--r-- | Command.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command.hs b/Command.hs index fec733f72..2c157304f 100644 --- a/Command.hs +++ b/Command.hs @@ -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 |