Add Folder copy/move/delete
Also implement the current folder menu
This commit is contained in:
@@ -32,10 +32,13 @@ char *EscapeFolder(const char *current){
|
||||
return ret;
|
||||
}
|
||||
|
||||
u64 GetFileSize(char *path){
|
||||
FSEntry_t GetFileInfo(const char *path){
|
||||
FILINFO fno;
|
||||
f_stat(path, &fno);
|
||||
return fno.fsize;
|
||||
FSEntry_t entry = {.optionUnion = fno.fattrib, .name = strrchr(path, '/') + 1};
|
||||
if (!(*entry.name))
|
||||
entry.name = "Root";
|
||||
return entry;
|
||||
}
|
||||
|
||||
char *GetFileAttribs(FSEntry_t entry){
|
||||
|
||||
Reference in New Issue
Block a user