MCPcopy Create free account
hub / github.com/InternScience/SciReason / exists

Function exists

opencompass/utils/fileio.py:226–230  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

224
225 @patch_func(os.path, 'exists')
226 def exists(path):
227 backend = get_file_backend(path)
228 if isinstance(backend, LocalBackend):
229 return exists._fallback(path)
230 return backend.exists(path)
231
232 @patch_func(os, 'listdir')
233 def listdir(path):

Callers 1

gen_packages_itemsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected