MCPcopy Create free account
hub / github.com/HumbleNet/HumbleNet / split

Function split

src/api_builder/build_csharp.cpp:88–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88static std::unordered_set< std::string > split( const std::string& s, char delimiter ) {
89 std::unordered_set< std::string > parts;
90
91 std::stringstream ss(s);
92
93 std::string tok;
94
95 while(std::getline( ss, tok, delimiter ) ){
96 parts.insert( tok );
97 }
98
99 return parts;
100}
101
102static void parseTypedefs(json_value* root, std::map< std::string, std::string >& typeMap )
103{

Callers 1

buildCSharpFunction · 0.85

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected