diff options
author | Joey Hess <joey@kitenet.net> | 2012-12-13 15:44:56 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-12-13 15:44:56 -0400 |
commit | 4b9cbd2e52a1b15addf24c12eda7d43fe5b0422c (patch) | |
tree | 0167b5ca00760e57867a0336a0a43b6399fba63d /Config.hs | |
parent | 7d7732b7f6afc844cc5e2bc2087847801e3426f0 (diff) |
added direct and indirect commands
Diffstat (limited to 'Config.hs')
-rw-r--r-- | Config.hs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -121,6 +121,9 @@ isDirect :: Annex Bool isDirect = fromMaybe False . Git.Config.isTrue <$> getConfig (annexConfig "direct") "" +setDirect :: Bool -> Annex () +setDirect b = setConfig (annexConfig "direct") (if b then "true" else "false") + {- Gets annex.httpheaders or annex.httpheaders-command setting, - splitting it into lines. -} getHttpHeaders :: Annex [String] |