MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / stringByApppendingPath

Method stringByApppendingPath

source/util/bstring.cpp:892–897  ·  view source on GitHub ↗

guarantees single path separator between

Source from the content-addressed store, hash-verified

890
891// guarantees single path separator between
892BString BString::stringByApppendingPath(const BString& path) const {
893 if (!path.data->str) {
894 return stringByApppendingPath("");
895 }
896 return stringByApppendingPath(path.data->str);
897}
898
899BString BString::pathSeparator() {
900 BString result;

Callers 15

makeLocalDirsMethod · 0.80
makeNativeDirsMethod · 0.80
iterateAllNativeFilesMethod · 0.80
loadChildrenMethod · 0.80
getTmpPathMethod · 0.80
renameMethod · 0.80
initMethod · 0.80
extractFileFromZipMethod · 0.80
unzipMethod · 0.80
applyMethod · 0.80

Calls 6

allocNewDataFunction · 0.85
lengthFunction · 0.85
getNewStringFunction · 0.85
memcpyFunction · 0.85
BStringClass · 0.85
powerOf2Function · 0.70

Tested by

no test coverage detected