MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / MakeUnorderedList

Function MakeUnorderedList

src/util/string.h:229–232  ·  view source on GitHub ↗

* Create an unordered multi-line list of items. */

Source from the content-addressed store, hash-verified

227 * Create an unordered multi-line list of items.
228 */
229inline std::string MakeUnorderedList(const std::vector<std::string>& items)
230{
231 return Join(items, "\n", [](const std::string& item) { return "- " + item; });
232}
233
234/**
235 * Check if a string does not contain any embedded NUL (\0) characters

Callers 5

ExecuteWalletToolFuncFunction · 0.85
ErrorSettingsReadFunction · 0.85
ErrorSettingsWriteFunction · 0.85
verifychainFunction · 0.85
InitErrorFunction · 0.85

Calls 1

JoinFunction · 0.85

Tested by

no test coverage detected