Searched refs:fpath (Results 1 – 1 of 1) sorted by relevance
278 def match_dot(self, fpath): argument279 return os.path.basename(fpath).startswith('.')281 def match_file(self, fpath): argument282 return os.path.basename(fpath) == self.pattern284 def match_fn(self, fpath): argument285 return fnmatch.fnmatchcase(fpath, self.pattern)287 def match_dir(self, fpath): argument288 if self.match_fn(os.path.dirname(fpath)):290 return fpath.startswith(self.pattern)292 def exclude_file(fpath): argument[all …]
Completed in 2 milliseconds