diff options
author | Joey Hess <joey@kitenet.net> | 2010-10-31 16:00:32 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-10-31 16:00:32 -0400 |
commit | cf4c926f2e78bd315988c1aae063f6b4148a2fae (patch) | |
tree | f7fdc76a1cc92c2c2836aff9ea10543679ab0457 /Backend/URL.hs | |
parent | b2c28c1ac0700eadc8689cdfb6f065d5147108bd (diff) |
more Wall cleaning
Diffstat (limited to 'Backend/URL.hs')
-rw-r--r-- | Backend/URL.hs | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Backend/URL.hs b/Backend/URL.hs index 384f933eb..e6d3eb1ae 100644 --- a/Backend/URL.hs +++ b/Backend/URL.hs @@ -9,14 +9,12 @@ module Backend.URL (backend) where import Control.Monad.State (liftIO) import Data.String.Utils -import System.Cmd -import System.Cmd.Utils -import System.Exit import TypeInternals import Core import Utility +backend :: Backend backend = Backend { name = "URL", getKey = keyValue, @@ -28,15 +26,15 @@ backend = Backend { -- cannot generate url from filename keyValue :: FilePath -> Annex (Maybe Key) -keyValue file = return Nothing +keyValue _ = return Nothing -- cannot change url contents dummyStore :: FilePath -> Key -> Annex Bool -dummyStore file url = return False +dummyStore _ _ = return False -- allow keys to be removed; presumably they can always be downloaded again dummyOk :: Key -> Annex Bool -dummyOk url = return True +dummyOk _ = return True downloadUrl :: Key -> FilePath -> Annex Bool downloadUrl key file = do |