JSONDB fix.
This commit is contained in:
parent
48cadcd2fc
commit
f6d92eb737
4 changed files with 9 additions and 8 deletions
|
@ -104,12 +104,11 @@ public:
|
|||
/**
|
||||
* List a directory's contents
|
||||
*
|
||||
* This returns only files, not sub-directories.
|
||||
*
|
||||
* @param path Path to list
|
||||
* @param includeDirectories If true, include directories as well as files
|
||||
* @return Names of files in directory (without path prepended)
|
||||
*/
|
||||
static std::vector<std::string> listDirectory(const char *path);
|
||||
static std::vector<std::string> listDirectory(const char *path,bool includeDirectories = false);
|
||||
|
||||
/**
|
||||
* Clean a directory of files whose last modified time is older than this
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue