Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
206
def
_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
213
def
_delete_code_on_exit():
Callers
1
compile_function
Function · 0.85
Calls
1
get
Method · 0.65
Tested by
no test coverage detected