MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _exists

Function _exists

tools/python-3.11.9-amd64/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