Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/Turing-Project/WriteGPT
/ merge_files
Function
merge_files
LanguageNetwork/BERT/utils/format_data.py:13–17 ·
view source on GitHub ↗
(path_list, merge_path)
Source
from the content-addressed store, hash-verified
11
12
13
def
merge_files(path_list, merge_path):
14
data = []
15
for
path in path_list:
16
data += load_txt_data(path)
17
save_txt_file(data, merge_path)
18
19
20
def
split_doc(data_path, out_path):
Callers
1
format_data.py
File · 0.85
Calls
2
load_txt_data
Function · 0.90
save_txt_file
Function · 0.90
Tested by
no test coverage detected