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

Function RemovePrefix

src/util/string.h:193–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191}
192
193[[nodiscard]] inline std::string RemovePrefix(std::string_view str, std::string_view prefix)
194{
195 return std::string(RemovePrefixView(str, prefix));
196}
197
198/**
199 * Join all container items. Typically used to concatenate strings but accepts

Callers 3

BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_FIXTURE_TEST_CASEFunction · 0.85
FUZZ_TARGETFunction · 0.85

Calls 1

RemovePrefixViewFunction · 0.85

Tested by 3

BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_FIXTURE_TEST_CASEFunction · 0.68
FUZZ_TARGETFunction · 0.68