diff options
| author | Tim Keller <geekboy1011@gmail.com> | 2021-10-26 00:48:25 (GMT) |
|---|---|---|
| committer | Tim Keller <geekboy1011@gmail.com> | 2021-12-10 01:18:57 (GMT) |
| commit | f4322841ffc011ea5c541e40e6aa73ab11ebd988 (patch) | |
| tree | 0fb52049f385bed296537e23a0031adcccbabd25 /src/components/fs/FS.h | |
| parent | 2e10b0fe645f74d0ab057ac11b96f4eb3fffc4ae (diff) | |
Remove DirDelete, implementation did not work and memory contraints are recursive. Better implemented on client side...
Diffstat (limited to 'src/components/fs/FS.h')
| -rw-r--r-- | src/components/fs/FS.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/fs/FS.h b/src/components/fs/FS.h index 60dd8e5..da3bd27 100644 --- a/src/components/fs/FS.h +++ b/src/components/fs/FS.h @@ -26,10 +26,11 @@ namespace Pinetime { int DirRead(lfs_dir_t* dir, lfs_info* info); int DirRewind(lfs_dir_t* dir); int DirCreate(const char* path); - int DirDelete(const char* path); + lfs_ssize_t GetFSSize(); int Stat(const char* path, lfs_info* info); void VerifyResource(); + static size_t getSize() { return size; } |
