Refactor controller to use split-out DB for better performance and less ugly.
This commit is contained in:
parent
ab2ccb094a
commit
b03c7b2f30
6 changed files with 224 additions and 173 deletions
|
@ -110,12 +110,12 @@ public:
|
|||
static std::vector<std::string> listDirectory(const char *path);
|
||||
|
||||
/**
|
||||
* List a directory's subdirectories
|
||||
* List all contents in a directory
|
||||
*
|
||||
* @param path Path to list
|
||||
* @return Names of subdirectories (without path prepended)
|
||||
* @return Names of things and types, currently just 'f' and 'd'
|
||||
*/
|
||||
static std::vector<std::string> listSubdirectories(const char *path);
|
||||
static std::map<std::string,char> listDirectoryFull(const char *path);
|
||||
|
||||
/**
|
||||
* Delete a directory and all its files and subdirectories recursively
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue