summaryrefslogtreecommitdiff
path: root/Remote/Helper/Messages.hs
blob: c4b1966dc8ba5c07f4801336d64cfff0d64192d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{- git-annex remote messages
 -
 - Copyright 2013 Joey Hess <joey@kitenet.net>
 -
 - Licensed under the GNU GPL version 3 or higher.
 -}

module Remote.Helper.Messages where

import Common.Annex
import qualified Git

showChecking :: Git.Repo -> Annex ()
showChecking r = showAction $ "checking " ++ Git.repoDescribe r

cantCheck :: Git.Repo -> Either String Bool
cantCheck r = Left $ "unable to check " ++ Git.repoDescribe r