23 static std::vector<std::string>
getAllNamesInDir(
const std::string& dirName,
bool fullPath =
true);
35 static bool deleteFile(std::string& pathfilename);
SLFileSystem provides basic filesystem functions.
static bool deleteFile(std::string &pathfilename)
Deletes a file on the filesystem.
static std::vector< std::string > getAllNamesInDir(const std::string &dirName, bool fullPath=true)
Returns all files and folders in a directory as a vector.
static std::string getCurrentWorkingDir()
Returns the working directory.
static std::string getAppsDocumentsDir()
Returns the writable documents directory.
static bool fileExists(std::string &pathfilename)
Returns true if a file exists.
static std::string getAppsWritableDir()
Returns the writable configuration directory.