MCPcopy Create free account
hub / github.com/bytedance/bolt / readFunctionNamesFromFile

Function readFunctionNamesFromFile

bolt/functions/CoverageUtil.cpp:138–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136};
137
138std::vector<std::string> readFunctionNamesFromFile(
139 const std::string& filePath) {
140 std::ifstream functions("data/" + filePath);
141
142 std::vector<std::string> names;
143 std::string name;
144 while (getline(functions, name)) {
145 names.emplace_back(name);
146 }
147
148 functions.close();
149 return names;
150}
151
152std::string toFuncLink(
153 const std::string& name,

Callers 2

printCoverageMapForAllFunction · 0.85

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected