diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-06-06 18:27:54 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-06-06 23:09:58 (GMT) |
| commit | 7c45f185a32c7bcff47c8fda1acdec82d3213717 (patch) | |
| tree | 53b0419fe2a19e6ec5c89d0be0a11dcd8d4ceb00 /src/components/fs | |
| parent | 94b1b330fc1f6e941a797fedabade4e790e28bc2 (diff) | |
| parent | 35dcf8c8607483c104711c9398d47d57147f4389 (diff) | |
Merge remote-tracking branch 'origin/develop' into analog24
Diffstat (limited to 'src/components/fs')
| -rw-r--r-- | src/components/fs/FS.cpp | 4 | ||||
| -rw-r--r-- | src/components/fs/FS.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/components/fs/FS.cpp b/src/components/fs/FS.cpp index 8c98ae3..14b0552 100644 --- a/src/components/fs/FS.cpp +++ b/src/components/fs/FS.cpp @@ -95,8 +95,8 @@ 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::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); diff --git a/src/components/fs/FS.h b/src/components/fs/FS.h index 2b27ae5..87fcdc2 100644 --- a/src/components/fs/FS.h +++ b/src/components/fs/FS.h @@ -26,7 +26,7 @@ namespace Pinetime { int DirRead(lfs_dir_t* dir, lfs_info* info); int DirRewind(lfs_dir_t* dir); 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); |
