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

Function copyIfNeeded

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

Source from the content-addressed store, hash-verified

166}
167
168void copyIfNeeded(const char* path) {
169 if (!contentFS->exists(path) && LittleFS.exists(path)) {
170 Serial.printf("SDCard does not contain %s, littleFS does, copying\r\n", path);
171 copyBetweenFS(LittleFS, path, *contentFS);
172 }
173}
174#endif
175#endif
176

Callers 1

beginMethod · 0.70

Calls 2

printfMethod · 0.80
copyBetweenFSFunction · 0.70

Tested by

no test coverage detected