Home | History | Annotate | Download | only in checkdeps

Lines Matching refs:dir_path

283   def _ApplyDirectoryRulesAndSkipSubdirs(self, parent_rules, dir_path):
284 """Given |parent_rules| and a subdirectory |dir_path| from the
285 directory that owns the |parent_rules|, add |dir_path|'s rules to
290 dir_path)
291 self.directory_rules[NormalizePath(dir_path)] = directory_rules
294 os.path.normpath(os.path.join(dir_path, subdir)))] = None
296 def GetDirectoryRules(self, dir_path):
303 dir_path: A real (non-normalized) path to the directory you want
306 norm_dir_path = NormalizePath(dir_path)
310 dir_path = os.path.join(self.base_directory, dir_path)
311 norm_dir_path = NormalizePath(dir_path)
313 parent_dir = os.path.dirname(dir_path)
318 # We need to check for an entry for our dir_path again, in case we
329 self._ApplyDirectoryRulesAndSkipSubdirs(parent_rules, dir_path)