20 lines
		
	
	
	
		
			460 B
			
		
	
	
	
		
			Haskell
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			460 B
			
		
	
	
	
		
			Haskell
		
	
	
	
	
	
{- git-annex command
 | 
						|
 -
 | 
						|
 - Copyright 2010 Joey Hess <id@joeyh.name>
 | 
						|
 -
 | 
						|
 - Licensed under the GNU GPL 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 paramRemote) (withParams seek)
 | 
						|
 | 
						|
seek :: CmdParams -> CommandSeek
 | 
						|
seek = trustCommand "semitrust" SemiTrusted
 |