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

Function _exists

Lib/tempfile.py:76–82  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

74
75
76def _exists(fn):
77 try:
78 _os.lstat(fn)
79 except OSError:
80 return False
81 else:
82 return True
83
84
85def _infer_return_type(*args):

Callers 1

mktempFunction · 0.70

Calls 1

lstatMethod · 0.80

Tested by

no test coverage detected