2010-12-28 17:44:55 -04:00
|
|
|
{- git-annex command
|
|
|
|
-
|
2015-01-21 12:50:09 -04:00
|
|
|
- Copyright 2010 Joey Hess <id@joeyh.name>
|
2010-12-28 17:44:55 -04:00
|
|
|
-
|
2019-03-13 15:48:14 -04:00
|
|
|
- Licensed under the GNU AGPL version 3 or higher.
|
2010-12-28 17:44:55 -04:00
|
|
|
-}
|
|
|
|
|
|
|
|
module Command.Untrust where
|
|
|
|
|
|
|
|
import Command
|
2014-02-20 15:12:35 -04:00
|
|
|
import Types.TrustLevel
|
|
|
|
import Command.Trust (trustCommand)
|
2010-12-28 17:44:55 -04:00
|
|
|
|
2015-07-08 12:33:27 -04:00
|
|
|
cmd :: Command
|
2015-07-08 15:08:02 -04:00
|
|
|
cmd = command "untrust" SectionSetup "do not trust a repository"
|
|
|
|
(paramRepeating paramRemote) (withParams seek)
|
2010-12-30 15:06:26 -04:00
|
|
|
|
2015-07-08 15:08:02 -04:00
|
|
|
seek :: CmdParams -> CommandSeek
|
2014-02-20 15:12:35 -04:00
|
|
|
seek = trustCommand "untrust" UnTrusted
|