avoid namespace conflict
This commit is contained in:
parent
354c5f349b
commit
5000aba76e
2 changed files with 1 additions and 3 deletions
|
@ -178,8 +178,6 @@ withKeys :: CommandSeekKeys
|
|||
withKeys a params = return $ map (a . parse) params
|
||||
where
|
||||
parse p = fromMaybe (error "bad key") $ readKey p
|
||||
withTempFile :: CommandSeekStrings
|
||||
withTempFile a params = return $ map a params
|
||||
withNothing :: CommandSeekNothing
|
||||
withNothing a [] = return [a]
|
||||
withNothing _ _ = error "This command takes no parameters."
|
||||
|
|
|
@ -20,7 +20,7 @@ command = [repoCommand "setkey" paramPath seek
|
|||
"sets annexed content for a key using a temp file"]
|
||||
|
||||
seek :: [CommandSeek]
|
||||
seek = [withTempFile start]
|
||||
seek = [withStrings start]
|
||||
|
||||
{- Sets cached content for a key. -}
|
||||
start :: CommandStartString
|
||||
|
|
Loading…
Reference in a new issue