MCPcopy Index your code
hub / github.com/Turing-Project/WriteGPT / mkdir

Function mkdir

LanguageNetwork/BERT/utils/dataio.py:139–147  ·  view source on GitHub ↗

:param path: :type path: str :return: None

(path)

Source from the content-addressed store, hash-verified

137
138
139def mkdir(path):
140 """
141 :param path:
142 :type path: str
143 :return: None
144 """
145 path = path.strip()
146 if not check_dir(path):
147 os.makedirs(path)
148
149
150def remove_old_file(path):

Callers 1

build_voc_dirsFunction · 0.85

Calls 1

check_dirFunction · 0.85

Tested by

no test coverage detected