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
20 lines
465 B
Haskell
20 lines
465 B
Haskell
{- git-annex command
|
|
-
|
|
- Copyright 2010 Joey Hess <id@joeyh.name>
|
|
-
|
|
- Licensed under the GNU AGPL version 3 or higher.
|
|
-}
|
|
|
|
module Command.Semitrust where
|
|
|
|
import Command
|
|
import Types.TrustLevel
|
|
import Command.Trust (trustCommand)
|
|
|
|
cmd :: Command
|
|
cmd = command "semitrust" SectionSetup
|
|
"return repository to default trust level"
|
|
(paramRepeating paramRepository) (withParams seek)
|
|
|
|
seek :: CmdParams -> CommandSeek
|
|
seek = trustCommand "semitrust" SemiTrusted
|