diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-02-06 16:03:02 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-02-06 16:03:02 -0400 |
commit | e24a7140fd8a4198ae470081a936c170df6ee495 (patch) | |
tree | defd80ae1bd15f94fbe0cfeb41f992c12711ed40 /Types | |
parent | 4c8cfa61bfb6fa1d9482a6b07b04d9ec11be4d0d (diff) |
relFile does not have to be relative; rename to currFile
Diffstat (limited to 'Types')
-rw-r--r-- | Types/FileMatcher.hs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Types/FileMatcher.hs b/Types/FileMatcher.hs index a79bbd258..377bba72a 100644 --- a/Types/FileMatcher.hs +++ b/Types/FileMatcher.hs @@ -19,8 +19,10 @@ data MatchInfo | MatchingKey Key data FileInfo = FileInfo - { relFile :: FilePath -- may be relative to cwd - , matchFile :: FilePath -- filepath to match on; may be relative to top + { currFile :: FilePath + -- ^ current path to the file, for operations that examine it + , matchFile :: FilePath + -- ^ filepath to match on; may be relative to top of repo or cwd } type FileMatcherMap a = M.Map UUID (Utility.Matcher.Matcher (S.Set UUID -> MatchInfo -> a Bool)) |