| 45 | }; |
| 46 | |
| 47 | std::string GetNameFromTrackPath(const std::string& path) |
| 48 | { |
| 49 | std::string name = Path::GetFileNameWithoutExtension(path); |
| 50 | // The track name should be the file name until the first instance of a dot |
| 51 | name = name.substr(0, name.find_first_of('.')); |
| 52 | return name; |
| 53 | } |
| 54 | |
| 55 | class TrackDesignFileIndex final : public FileIndex<TrackRepositoryItem> |
| 56 | { |
no test coverage detected