MCPcopy Create free account
hub / github.com/BlueAndi/Pixelix / checkForFiles

Method checkForFiles

lib/FileMgrService/src/FileMgrService.cpp:328–347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326}
327
328bool FileMgrService::checkForFiles(FileTableEntry* fileTable)
329{
330 bool anyChange = false;
331 FileId fileId;
332
333 for (fileId = 0U; fileId < MAX_FILES; ++fileId)
334 {
335 FileTableEntry* entry = &fileTable[fileId];
336
337 if ((false == entry->fullPath.isEmpty()) &&
338 (false == FILESYSTEM.exists(entry->fullPath)))
339 {
340 entry->clear();
341
342 anyChange = true;
343 }
344 }
345
346 return anyChange;
347}
348
349bool FileMgrService::hasTopicChanged(const String& topic)
350{

Callers

nothing calls this directly

Calls 3

existsMethod · 0.80
isEmptyMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected