Browse Source

Add FS usedSize() and totalSize()

main
PaulStoffregen 4 years ago
parent
commit
7f02c72b15
3 changed files with 6 additions and 0 deletions
  1. +2
    -0
      teensy/FS.h
  2. +2
    -0
      teensy3/FS.h
  3. +2
    -0
      teensy4/FS.h

+ 2
- 0
teensy/FS.h View File

virtual bool rename(const char *oldfilepath, const char *newfilepath); virtual bool rename(const char *oldfilepath, const char *newfilepath);
virtual bool remove(const char *filepath); virtual bool remove(const char *filepath);
virtual bool rmdir(const char *filepath); virtual bool rmdir(const char *filepath);
virtual uint64_t usedSize();
virtual uint64_t totalSize();
}; };





+ 2
- 0
teensy3/FS.h View File

virtual bool rename(const char *oldfilepath, const char *newfilepath); virtual bool rename(const char *oldfilepath, const char *newfilepath);
virtual bool remove(const char *filepath); virtual bool remove(const char *filepath);
virtual bool rmdir(const char *filepath); virtual bool rmdir(const char *filepath);
virtual uint64_t usedSize();
virtual uint64_t totalSize();
}; };





+ 2
- 0
teensy4/FS.h View File

virtual bool rename(const char *oldfilepath, const char *newfilepath); virtual bool rename(const char *oldfilepath, const char *newfilepath);
virtual bool remove(const char *filepath); virtual bool remove(const char *filepath);
virtual bool rmdir(const char *filepath); virtual bool rmdir(const char *filepath);
virtual uint64_t usedSize();
virtual uint64_t totalSize();
}; };





Loading…
Cancel
Save