Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/daniele77/cli
/ SplitInto
Method
SplitInto
include/cli/detail/split.h:50–57 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
48
{
49
}
50
void SplitInto(std::vector<std::string>& strs)
51
{
52
Reset();
53
for (char c: input)
54
Eval(c);
55
RemoveEmptyEntries();
56
splitResult.swap(strs); // puts the result back in strs
57
}
58
private:
59
void Reset()
60
{
Callers
1
split
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected