MCPcopy Create free account
hub / github.com/OpenEarable/open-earable / closeFile

Method closeFile

src/utils/SDManager.cpp:46–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46void SDManager::closeFile(ExFatFile *file) {
47 if (!file->isOpen()) return;
48 file->close();
49 _lastFile = nullptr;
50}
51
52bool SDManager::exists(const String& name) {
53 if (!_available) begin();

Callers 6

endMethod · 0.80
setNameMethod · 0.80
writeHeaderMethod · 0.80
endRecordingMethod · 0.80
endMethod · 0.80
open_fileMethod · 0.80

Calls 1

closeMethod · 0.80

Tested by

no test coverage detected