Lines Matching defs:exists
26 _WINERROR_NOT_READY = 21 # drive exists but is not accessible
318 exists = path_cls.exists
322 return self._select_from(parent_path, is_dir, exists, scandir)
327 def _select_from(self, parent_path, is_dir, exists, scandir):
337 def _select_from(self, parent_path, is_dir, exists, scandir):
340 if (is_dir if self.dironly else exists)(path):
341 for p in self.successor._select_from(path, is_dir, exists, scandir):
353 def _select_from(self, parent_path, is_dir, exists, scandir):
372 for p in self.successor._select_from(path, is_dir, exists, scandir):
402 def _select_from(self, parent_path, is_dir, exists, scandir):
408 for p in successor_select(starting_point, is_dir, exists, scandir):
1180 Rename this path to the target path, overwriting if that path exists.
1230 def exists(self):
1232 Whether this path exists.
1283 if not self.exists() or not self.is_dir():