aboutsummaryrefslogtreecommitdiff
path: root/Types/FileMatcher.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-05-25 13:51:27 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-05-25 13:51:27 -0400
commitbe7b9385cb74bdad1531241d3ada6b65ecf5ece3 (patch)
tree826feddfd30ceaaef8a77f2973d11d5e56477329 /Types/FileMatcher.hs
parent85efe0002deb6bc4c244cd93e6d973091524a55d (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 000000000..fc442b604
--- /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
+ }