MCPcopy Create free account
hub / github.com/PDAL/PDAL / directoryList

Function directoryList

pdal/util/FileUtils.cpp:265–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263
264
265std::vector<std::string> directoryList(const std::string& dir)
266{
267 std::vector<std::string> files;
268 CPLStringList aosFileList(VSIReadDir(dir.c_str()));
269 for (int i = 0; i < aosFileList.size(); i++)
270 {
271 std::string osPath =
272 CPLFormFilename(dir.c_str(), aosFileList[i], nullptr);
273 files.push_back(osPath);
274 }
275
276 return files;
277}
278
279
280void closeFile(std::ostream *out)

Callers 3

TESTFunction · 0.85
TESTFunction · 0.85
PluginDirectoryMethod · 0.85

Calls 1

sizeMethod · 0.45

Tested by 2

TESTFunction · 0.68
TESTFunction · 0.68