Added usedBytes to match other filesystems (#4534)

This commit is contained in:
lbernstone
2020-11-14 23:48:21 -07:00
committed by GitHub
parent 378b6ac032
commit d8b1fc81c0
2 changed files with 16 additions and 0 deletions

View File

@ -31,6 +31,7 @@ public:
bool begin(bool formatOnFail=false, const char * basePath="/ffat", uint8_t maxOpenFiles=10, const char * partitionLabel = (char*)FFAT_PARTITION_LABEL);
bool format(bool full_wipe = FFAT_WIPE_QUICK, char* partitionLabel = (char*)FFAT_PARTITION_LABEL);
size_t totalBytes();
size_t usedBytes();
size_t freeBytes();
void end();
bool exists(const char* path);