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

Function _exists

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

Source from the content-addressed store, hash-verified

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

Callers 1

mktempFunction · 0.70

Calls 1

lstatMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…