MCPcopy Create free account
hub / github.com/esmBot/esmBot / starts_with

Function starts_with

natives/cli/cli.cc:16–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14}
15
16static bool starts_with(std::string_view str, std::string_view prefix) {
17 return str.size() >= prefix.size() && str.compare(0, prefix.size(), prefix) == 0;
18}
19
20std::vector<std::string> split(const std::string &s, char delim) {
21 std::vector<std::string> result;

Callers 1

parseArgumentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected