mirror of
https://github.com/nitraiolo/CfgUSBLoader.git
synced 2024-11-27 13:44:17 +01:00
17 lines
555 B
C
17 lines
555 B
C
#ifndef _FILEOPS
|
|
#define _FILEOPS
|
|
|
|
bool fsop_GetFileSizeBytes (char *path, size_t *filesize); // for me stats st_size report always 0 :(
|
|
bool fsop_FileExist (char *fn);
|
|
bool fsop_DirExist (char *path);
|
|
bool fsop_CopyFile (char *source, char *target);
|
|
bool fsop_MakeFolder (char *path);
|
|
bool fsop_CopyFolder (char *source, char *target);
|
|
bool fsop_CreateFolderTree (char *path);
|
|
void fsop_deleteFolder(char *source);
|
|
|
|
u32 fsop_GetFolderKb (char *source);
|
|
u64 fsop_GetFolderBytes (char *source);
|
|
u32 fsop_GetFreeSpaceKb (char *path);
|
|
|
|
#endif |