Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dblalock/bolt
/ force_create_dir
Function
force_create_dir
experiments/python/files.py:79–82 ·
view source on GitHub ↗
(dir)
Source
from the content-addressed store, hash-verified
77
78
79
def
force_create_dir(dir):
80
if
os.path.exists(dir):
81
remove(dir)
82
os.makedirs(dir)
83
84
85
def
ensure_dir_exists(dir):
Callers
nothing calls this directly
Calls
1
remove
Function · 0.85
Tested by
no test coverage detected