MCPcopy Create free account
hub / github.com/SmingHub/Sming / listPartitions

Function listPartitions

Sming/Components/Storage/src/Debug.cpp:7–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5namespace Storage::Debug
6{
7void listPartitions(Print& out)
8{
9 out.println();
10 out.println(_F("Registered partitions:"));
11 for(auto part : Storage::findPartition()) {
12 out << "- " << part << endl;
13 }
14 out.println();
15}
16
17void listPartitions(Print& out, const Device& device)
18{

Callers 1

executeMethod · 0.85

Calls 3

printlnMethod · 0.80
findPartitionFunction · 0.70
getNameMethod · 0.45

Tested by

no test coverage detected