Lines Matching refs:fpath
272 def match_dot(self, fpath): argument
273 return os.path.basename(fpath).startswith('.')
275 def match_file(self, fpath): argument
276 return os.path.basename(fpath) == self.pattern
278 def match_fn(self, fpath): argument
279 return fnmatch.fnmatchcase(fpath, self.pattern)
281 def match_dir(self, fpath): argument
282 if self.match_fn(os.path.dirname(fpath)):
284 return fpath.startswith(self.pattern)
286 def exclude_file(fpath): argument
288 if rule.match(fpath):