MCPcopy Index your code
hub / github.com/bugy/script-server / exists

Function exists

src/utils/file_utils.py:115–117  ·  view source on GitHub ↗
(filename, current_folder=None)

Source from the content-addressed store, hash-verified

113 return os.access(file_path, os.X_OK)
114
115def exists(filename, current_folder=None):
116 path = normalize_path(filename, current_folder)
117 return os.path.exists(path)
118
119
120def last_modification(folder_paths):

Callers

nothing calls this directly

Calls 1

normalize_pathFunction · 0.85

Tested by

no test coverage detected