MCPcopy Create free account
hub / github.com/apache/fory / _get_code_dir

Function _get_code_dir

python/pyfory/codegen.py:206–210  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

204
205
206def _get_code_dir():
207 code_dir = os.environ.get("FORY_CODE_DIR")
208 if code_dir is not None and not os.path.exists(code_dir):
209 os.makedirs(code_dir)
210 return code_dir
211
212
213def _delete_code_on_exit():

Callers 1

compile_functionFunction · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected