Implement folder copy

+ Change error messaging internally
+ inproved recursive file deletion
This commit is contained in:
Such Meme, Many Skill
2020-01-04 20:18:26 +01:00
parent 6d75aa688c
commit ef76834ef4
8 changed files with 189 additions and 50 deletions

View File

@@ -39,11 +39,12 @@ enum filemenuoptions {
enum foldermenuoptions {
EXITFOLDER = 1,
DELETEFOLDER
DELETEFOLDER,
COPYFOLDER
};
int readfolder(const char *path);
void fileexplorer(const char *startpath);
bool checkfile(char* path);
u64 getfilesize(char *path);
int copy(const char *locin, const char *locout, bool print);
int copy(const char *locin, const char *locout, bool print, bool canCancel);