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

Function prepare_folder

src/utils/file_utils.py:100–104  ·  view source on GitHub ↗
(folder_path)

Source from the content-addressed store, hash-verified

98
99
100def prepare_folder(folder_path):
101 path = normalize_path(folder_path)
102
103 if not os.path.exists(path):
104 os.makedirs(path)
105
106
107def make_executable(file_path):

Callers 1

write_fileFunction · 0.85

Calls 1

normalize_pathFunction · 0.85

Tested by

no test coverage detected