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

Method writableSpan

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

Source from the content-addressed store, hash-verified

24 [[nodiscard]] auto view() const { return StringSpan({buffer, length}, true, StringEncoding::Native); }
25 [[nodiscard]] bool isEmpty() const { return length == 0; }
26 [[nodiscard]] auto writableSpan() { return Span<native_char_t>{buffer, N}; }
27 [[nodiscard]] bool operator==(StringSpan other) const { return view() == other; }
28
29 void clear()

Callers 15

hardLinkMethod · 0.80
FileSystemTest.cppFile · 0.80
permissionsMethod · 0.80
writableSpanFunction · 0.80
GrowableBufferFunction · 0.80
trimTrailingSeparatorsFunction · 0.80
pathJoinFunction · 0.80
normalizeNativePathFunction · 0.80
getExecutablePathFunction · 0.80
convertMethod · 0.80

Calls

no outgoing calls

Tested by 8

hardLinkMethod · 0.64
permissionsMethod · 0.64
trimTrailingSeparatorsFunction · 0.64
pathJoinFunction · 0.64
normalizeNativePathFunction · 0.64
getExecutablePathFunction · 0.64