MCPcopy Create free account
hub / github.com/comaps/comaps / TrimLeadingSpaces

Function TrimLeadingSpaces

libs/search/processor.cpp:78–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78void TrimLeadingSpaces(string & s)
79{
80 while (!s.empty() && strings::IsASCIISpace(s.front()))
81 s = s.substr(1);
82}
83
84bool EatFid(string & s, uint32_t & fid)
85{

Callers 3

EatFidFunction · 0.85
EatMwmNameFunction · 0.85
EatVersionFunction · 0.85

Calls 3

IsASCIISpaceFunction · 0.85
frontMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected