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

Method list

bolt/common/file/FileSystems.cpp:242–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240 }
241
242 virtual std::vector<std::string> list(std::string_view path) override {
243 auto directoryPath = extractPath(path);
244 const std::filesystem::path folder{directoryPath};
245 std::vector<std::string> filePaths;
246 for (auto const& entry : std::filesystem::directory_iterator{folder}) {
247 filePaths.push_back(entry.path());
248 }
249 return filePaths;
250 }
251
252 void mkdir(std::string_view path) override {
253 std::error_code ec;

Callers 15

getFilePathsMethod · 0.45
getFilePathsMethod · 0.45
getFilePathsMethod · 0.45
getFilePathsMethod · 0.45
getTaskIdsFunction · 0.45
listPipelineIdsFunction · 0.45
listDriverIdsFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
printStatsMethod · 0.45
printStatsMethod · 0.45
TEST_FFunction · 0.45

Calls 2

push_backMethod · 0.45
pathMethod · 0.45

Tested by 10

getFilePathsMethod · 0.36
getFilePathsMethod · 0.36
getFilePathsMethod · 0.36
getFilePathsMethod · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
printStatsMethod · 0.36
printStatsMethod · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36