MCPcopy Create free account
hub / github.com/OpenEPaperLink/OpenEPaperLink / freeSpace

Method freeSpace

ESP32_AP-Flasher/src/storage.cpp:91–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89#endif
90
91uint64_t DynStorage::freeSpace(){
92 this->begin();
93#ifdef HAS_SDCARD
94 return SDCARD.totalBytes() - SDCARD.usedBytes();
95#endif
96#ifndef SD_CARD_ONLY
97 return LittleFS.totalBytes() - LittleFS.usedBytes();
98#endif
99}
100
101#ifndef SD_CARD_ONLY
102void copyFile(File in, File out) {

Callers 2

wsSendSysteminfoFunction · 0.45
contentRunnerFunction · 0.45

Calls 1

beginMethod · 0.95

Tested by

no test coverage detected