MCPcopy Create free account
hub / github.com/IChooseYou/Reclass / buildSourceLabel

Function buildSourceLabel

tests/test_command_row.cpp:13–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11// without needing a full RcxController/RcxDocument/RcxEditor stack.
12
13static QString buildSourceLabel(const Provider& prov) {
14 QString provName = prov.name();
15 if (provName.isEmpty())
16 return QStringLiteral("source\u25BE");
17 return QStringLiteral("'%1'\u25BE").arg(provName);
18}
19
20static QString buildCommandRow(const Provider& prov, uint64_t baseAddress) {
21 QString src = buildSourceLabel(prov);

Calls 1

nameMethod · 0.45

Tested by

no test coverage detected