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

Method openFile

src/utils/SDManager.cpp:41–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41ExFatFile SDManager::openFile(const String& name, bool write) {
42 if (!_available) begin();
43 return write ? sd->open(name, FILE_WRITE) : sd->open(name, FILE_READ);
44}
45
46void SDManager::closeFile(ExFatFile *file) {
47 if (!file->isOpen()) return;

Callers 4

writeHeaderMethod · 0.80
startRecordingMethod · 0.80
open_fileMethod · 0.80
open_fileMethod · 0.80

Calls 1

openMethod · 0.80

Tested by

no test coverage detected