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

Method getNativePathFromParentAndLocalFilename

source/io/fs.cpp:397–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

395}
396
397BString Fs::getNativePathFromParentAndLocalFilename(const std::shared_ptr<FsNode>& parent, const BString& fileName) {
398 BString nativeFileName = fileName;
399 Fs::localNameToRemote(nativeFileName);
400 if (parent) {
401 return parent->nativePath.stringByApppendingPath(nativeFileName);
402 }
403 return nativeFileName;
404}
405
406bool Fs::makeNativeDirs(const BString& path) {
407 std::vector<BString> parts;

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected