MCPcopy Create free account
hub / github.com/apple/foundationdb / listFiles

Function listFiles

flow/Platform.actor.cpp:2747–2749  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2745namespace platform {
2746
2747std::vector<std::string> listFiles(std::string const& directory, std::string const& extension) {
2748 return findFiles(directory, extension, false /* directoryOnly */, false).get();
2749}
2750
2751Future<std::vector<std::string>> listFilesAsync(std::string const& directory, std::string const& extension) {
2752 return findFiles(directory, extension, false /* directoryOnly */, true);

Callers 15

findFilesRecursivelyFunction · 0.85
cleanupTraceFilesMethod · 0.85
actionMethod · 0.85
getDiskStoresFunction · 0.85
restoreRoleFilesHelperFunction · 0.85
mainFunction · 0.85
coordChangeClusterKeyFunction · 0.85
mainFunction · 0.85
listLogFilesMethod · 0.85
old_listRangeFilesMethod · 0.85

Calls 1

getMethod · 0.65

Tested by 1

mainFunction · 0.68