blob: e2d4eadc1b62b862581e58a86c2ea606db1d528c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{- git-annex file matcher types
-
- Copyright 2013 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
-}
module Types.FileMatcher where
import Types.Key (Key)
data MatchInfo
= MatchingFile FileInfo
| MatchingKey Key
data FileInfo = FileInfo
{ relFile :: FilePath -- may be relative to cwd
, matchFile :: FilePath -- filepath to match on; may be relative to top
}
|