| 395 | } |
| 396 | |
| 397 | BString 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 | |
| 406 | bool Fs::makeNativeDirs(const BString& path) { |
| 407 | std::vector<BString> parts; |
nothing calls this directly
no test coverage detected