MCPcopy Create free account
hub / github.com/bmorcelli/Launcher / launcherPartitionIsRemovableInstallData

Function launcherPartitionIsRemovableInstallData

src/partition_table_model.cpp:793–798  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

791}
792
793bool launcherPartitionIsRemovableInstallData(const LauncherPartitionEntry &entry) {
794 if (!entry.isData()) return false;
795 if (entry.subtype != 0x81 && entry.subtype != 0x82 && entry.subtype != 0x83) return false;
796 return strcmp(entry.label, "spiffs") == 0 || strcmp(entry.label, "sys") == 0 ||
797 strcmp(entry.label, "vfs") == 0;
798}
799
800bool launcherPartitionRemoveInstallDataPartitions(LauncherPartitionTable &table, bool removeSpiffs) {
801 bool removed = false;

Calls 1

isDataMethod · 0.80

Tested by

no test coverage detected