Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FreedomIntelligence/CMB
/ make_output_dir
Function
make_output_dir
src/utils.py:66–72 ·
view source on GitHub ↗
(fp)
Source
from the content-addressed store, hash-verified
64
65
66
def
make_output_dir(fp):
67
import
os
68
69
dir =
"/"
.join(fp.split(
"/"
)[:-1])
70
if
not os.path.isdir(dir):
71
os.makedirs(dir, exist_ok=True)
72
print(f
"output to {dir}"
)
Callers
1
main
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected