MCPcopy 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
79def force_create_dir(dir):
80 if os.path.exists(dir):
81 remove(dir)
82 os.makedirs(dir)
83
84
85def ensure_dir_exists(dir):

Callers

nothing calls this directly

Calls 1

removeFunction · 0.85

Tested by

no test coverage detected