70d2ece381
These commands operate on not only remotes, but any way a repository can be specified, including "here" etc. Sponsored-by: Graham Spencer on Patreon
19 lines
440 B
Haskell
19 lines
440 B
Haskell
{- git-annex command
|
|
-
|
|
- Copyright 2010 Joey Hess <id@joeyh.name>
|
|
-
|
|
- Licensed under the GNU AGPL version 3 or higher.
|
|
-}
|
|
|
|
module Command.Untrust where
|
|
|
|
import Command
|
|
import Types.TrustLevel
|
|
import Command.Trust (trustCommand)
|
|
|
|
cmd :: Command
|
|
cmd = command "untrust" SectionSetup "do not trust a repository"
|
|
(paramRepeating paramRepository) (withParams seek)
|
|
|
|
seek :: CmdParams -> CommandSeek
|
|
seek = trustCommand "untrust" UnTrusted
|