Lines Matching refs:fpath
278 def match_dot(self, fpath): argument
279 return os.path.basename(fpath).startswith('.')
281 def match_file(self, fpath): argument
282 return os.path.basename(fpath) == self.pattern
284 def match_fn(self, fpath): argument
285 return fnmatch.fnmatchcase(fpath, self.pattern)
287 def match_dir(self, fpath): argument
288 if self.match_fn(os.path.dirname(fpath)):
290 return fpath.startswith(self.pattern)
292 def exclude_file(fpath): argument
294 if rule.match(fpath):