MCPcopy Index your code
hub / github.com/python/cpython / exists

Method exists

Lib/test/test_pathlib/support/zip_path.py:130–133  ·  view source on GitHub ↗
(self, follow_symlinks=True)

Source from the content-addressed store, hash-verified

128 self.children = {}
129
130 def exists(self, follow_symlinks=True):
131 if follow_symlinks and self.is_symlink():
132 return self.resolve().exists()
133 return True
134
135 def is_dir(self, follow_symlinks=True):
136 if follow_symlinks and self.is_symlink():

Callers 15

rewrite_fileMethod · 0.45
_extension_detailsFunction · 0.45
util.pyFile · 0.45
create_modulesFunction · 0.45
_test_filesMethod · 0.45
test_iterdir_infoMethod · 0.45
test_info_existsMethod · 0.45

Calls 2

is_symlinkMethod · 0.95
resolveMethod · 0.95