MCPcopy Create free account
hub / github.com/bugy/script-server / new_code

Function new_code

src/tests/config_service_test.py:222–227  ·  view source on GitHub ↗
(code, filename)

Source from the content-addressed store, hash-verified

220
221
222def new_code(code, filename):
223 return {
224 'mode': 'new_code',
225 'code': code,
226 'path': os.path.join(test_utils.temp_folder, 'scripts', filename)
227 }
228
229
230def upload_script(filename):

Calls

no outgoing calls

Tested by

no test coverage detected