use own encoder and some more error handling

This commit is contained in:
nothingTVatYT
2023-12-14 17:29:08 +01:00
parent f65ded4501
commit 8c45659b2a
2 changed files with 57 additions and 18 deletions

View File

@@ -49,6 +49,7 @@ public:
private:
static bool UrnEncodePath(const char *path, char *result, int maxLength);
static bool getFilesFromDirectoryTop(Array<String, HeapAllocation>& results, const char* path, const char* searchPattern);
static bool getFilesFromDirectoryAll(Array<String, HeapAllocation>& results, const char* path, const char* searchPattern);
static String getBaseName(const StringView& path);