Home
last modified time | relevance | path

Searched refs:fpath (Results 1 – 1 of 1) sorted by relevance

/scripts/
A Dspdxcheck.py278 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
[all …]

Completed in 3 milliseconds