summaryrefslogtreecommitdiff
path: root/Types/FileMatcher.hs
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2013-05-25 13:51:27 -0400
committerJoey Hess <joey@kitenet.net>2013-05-25 13:51:27 -0400
commitbaf36cb0cc9b253f70088a3700708826d1b830b9 (patch)
tree5d6e8f40e2b10893ab06cfe8ba8e7e39c7c8254c /Types/FileMatcher.hs
parentd4234b461ba23c0815a4e2def625124af95110e1 (diff)
forgot to add
Diffstat (limited to 'Types/FileMatcher.hs')
-rw-r--r--Types/FileMatcher.hs13
1 files changed, 13 insertions, 0 deletions
diff --git a/Types/FileMatcher.hs b/Types/FileMatcher.hs
new file mode 100644
index 0000000000..fc442b6041
--- /dev/null
+++ b/Types/FileMatcher.hs
@@ -0,0 +1,13 @@
+{- 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
+
+data FileInfo = FileInfo
+ { relFile :: FilePath -- may be relative to cwd
+ , matchFile :: FilePath -- filepath to match on; may be relative to top
+ }