From 3e1db1805d5da0ea2c06cfdf7f5f8d0175014127 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 15 Sep 2013 19:10:38 -0400 Subject: status: In local mode, displays information about variance from configured numcopies levels. --- Command.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Command.hs') 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 -- cgit v1.2.3