MCPcopy Create free account
hub / github.com/RobLoach/raylib-cpp / string> LoadDirectoryFilesEx

Method string> LoadDirectoryFilesEx

include/Functions.hpp:163–169  ·  view source on GitHub ↗

* Load directory filepaths with extension filtering and optional subdirectory scanning */

Source from the content-addressed store, hash-verified

161 * Load directory filepaths with extension filtering and optional subdirectory scanning
162 */
163RLCPP_MAYBEUNUSED RLCPPAPI std::vector<std::string>
164LoadDirectoryFilesEx(const std::string& basePath, const std::string& filter, bool scanSubdirs = false) {
165 FilePathList files = ::LoadDirectoryFilesEx(basePath.c_str(), filter.c_str(), scanSubdirs);
166 std::vector<std::string> output(files.paths, files.paths + files.count);
167 ::UnloadDirectoryFiles(files);
168 return output;
169}
170
171/**
172 * Change working directory, return true on success

Callers

nothing calls this directly

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected