MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / assign

Method assign

Libraries/Common/StringPath.h:34–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 buffer[0] = 0;
33 }
34 [[nodiscard]] bool assign(StringSpan str)
35 {
36 clear();
37 return append(str);
38 }
39
40 [[nodiscard]] bool append(StringSpan str)
41 {

Callers 15

resolveHostToolPathFunction · 0.45
tryResolveHostToolPathFunction · 0.45
computeArtifactPathFunction · 0.45
runBuiltProgramFunction · 0.45
SCBuildFixtureTestMethod · 0.45

Calls 2

clearFunction · 0.85
appendFunction · 0.70

Tested by 15

resolveHostToolPathFunction · 0.36
tryResolveHostToolPathFunction · 0.36
computeArtifactPathFunction · 0.36
runBuiltProgramFunction · 0.36
SCBuildFixtureTestMethod · 0.36