MCPcopy Create free account
hub / github.com/DataArcTech/ToG / create_dir

Function create_dir

Wikidata/simple_wikidata_db/utils.py:53–57  ·  view source on GitHub ↗

Creates new directory if it doesn't already exist

(out_dir)

Source from the content-addressed store, hash-verified

51 return filenames
52
53def create_dir(out_dir):
54 """ Creates new directory if it doesn't already exist """
55 if not os.path.exists(out_dir):
56 print(f"Creating {out_dir}")
57 os.makedirs(out_dir)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected