| 246 | } |
| 247 | |
| 248 | BString Fs::getParentPath(const BString& path) { |
| 249 | return path.substr(0, path.lastIndexOf('/', path.length()-2)); |
| 250 | } |
| 251 | |
| 252 | BString Fs::getNativeParentPath(const BString& path) { |
| 253 | int pos = path.lastIndexOf(Fs::nativePathSeperator); |
nothing calls this directly
no test coverage detected