| 130 | } |
| 131 | |
| 132 | inline std::string getInfoFilePath(const std::string& mapPath) |
| 133 | { |
| 134 | auto format = GlobalMapFormatManager().getMapFormatForFilename(mapPath); |
| 135 | |
| 136 | if (format && format->allowInfoFileCreation()) |
| 137 | { |
| 138 | return os::replaceExtension(mapPath, game::current::getInfoFileExtension()); |
| 139 | } |
| 140 | |
| 141 | return std::string(); |
| 142 | } |
| 143 | |
| 144 | inline void resolveMapFileConflictUsingOurs(const std::shared_ptr<Repository>& repository) |
| 145 | { |
no test coverage detected