Added move function

This commit is contained in:
Tim Keller
2021-11-16 04:32:53 +00:00
parent 8f46908d38
commit 362a5ef113
4 changed files with 33 additions and 4 deletions

View File

@@ -95,7 +95,9 @@ int FS::DirRewind(lfs_dir_t* dir) {
int FS::DirCreate(const char* path) {
return lfs_mkdir(&lfs, path);
}
int FS::Rename(const char* oldPath, const char* newPath){
return lfs_rename(&lfs,oldPath,newPath);
}
int FS::Stat(const char* path, lfs_info* info) {
return lfs_stat(&lfs, path, info);
}

View File

@@ -28,6 +28,7 @@ namespace Pinetime {
int DirCreate(const char* path);
lfs_ssize_t GetFSSize();
int Rename(const char* oldPath, const char* newPath);
int Stat(const char* path, lfs_info* info);
void VerifyResource();