relFile does not have to be relative; rename to currFile

This commit is contained in:
Joey Hess 2015-02-06 16:03:02 -04:00
parent dfab5e6ff4
commit b94eb9b22c
4 changed files with 8 additions and 6 deletions

View file

@ -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))