| 1066 | } |
| 1067 | |
| 1068 | BString FileSystemZip::getLocalFilePath() const { |
| 1069 | int pos = this->filePath.lastIndexOf('/'); |
| 1070 | if (pos == -1) { |
| 1071 | return B(""); // :TODO: error msg? |
| 1072 | } |
| 1073 | BString fileName = this->filePath.substr(pos + 1); |
| 1074 | return GlobalSettings::getFileSystemFolder().stringByApppendingPath(fileName); |
| 1075 | } |
no test coverage detected