Home | History | Annotate | Download | only in Lib

Lines Matching defs:is_dir

480         is_dir = path_cls.is_dir
483 if not is_dir(parent_path):
485 return self._select_from(parent_path, is_dir, exists, scandir)
490 def _select_from(self, parent_path, is_dir, exists, scandir):
500 def _select_from(self, parent_path, is_dir, exists, scandir):
503 if (is_dir if self.dironly else exists)(path):
504 is_dir, exists, scandir):
516 def _select_from(self, parent_path, is_dir, exists, scandir):
521 if not self.dironly or entry.is_dir():
526 for p in self.successor._select_from(path, is_dir, exists, scandir):
538 def _iterate_directories(self, parent_path, is_dir, scandir):
545 entry_is_dir = entry.is_dir()
551 for p in self._iterate_directories(path, is_dir, scandir):
556 def _select_from(self, parent_path, is_dir, exists, scandir):
561 for starting_point in self._iterate_directories(parent_path, is_dir, scandir):
562 for p in successor_select(starting_point, is_dir, exists, scandir):
1260 if not exist_ok or not self.is_dir():
1346 def is_dir(self):
1378 if not self.exists() or not self.is_dir():