Added Delete file
Added FS Stat.
This commit is contained in:
@@ -96,6 +96,10 @@ int FS::DirCreate(const char* path) {
|
||||
return lfs_mkdir(&lfs, path);
|
||||
}
|
||||
|
||||
int FS::Stat(const char* path, lfs_info* info){
|
||||
return lfs_stat(&lfs,path,info);
|
||||
}
|
||||
|
||||
// Delete directory and all files inside
|
||||
int FS::DirDelete(const char* path) {
|
||||
|
||||
|
@@ -28,6 +28,7 @@ namespace Pinetime {
|
||||
int DirCreate(const char* path);
|
||||
int DirDelete(const char* path);
|
||||
|
||||
int Stat(const char* path, lfs_info* info);
|
||||
void VerifyResource();
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user