MCPcopy Index your code
hub / github.com/RustPython/RustPython / exists

Method exists

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

Source from the content-addressed store, hash-verified

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

Callers 15

rewrite_fileMethod · 0.45
_test_filesMethod · 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