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

Function check_dir

LanguageNetwork/BERT/utils/dataio.py:128–136  ·  view source on GitHub ↗

check dir exists :param path: :type path:str :return: :rtype: bool

(path)

Source from the content-addressed store, hash-verified

126
127
128def check_dir(path):
129 """
130 check dir exists
131 :param path:
132 :type path:str
133 :return:
134 :rtype: bool
135 """
136 return os.path.exists(path)
137
138
139def mkdir(path):

Callers 3

load_predict_gen_vectorFunction · 0.90
mkdirFunction · 0.85
remove_old_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected