| 347 | } |
| 348 | |
| 349 | FileSystem::InputStream AbyssEngine::loadFile(const std::string_view file_path) { |
| 350 | std::string path(file_path); |
| 351 | absl::AsciiStrToLower(&path); |
| 352 | absl::StrReplaceAll({{"{lang_font}", _locale}, {"{lang}", _lang}}, &path); |
| 353 | return _fileProvider.loadFile(path); |
| 354 | } |
| 355 | |
| 356 | bool AbyssEngine::fileExists(const std::string_view file_path) { |
| 357 | std::string path(file_path); |
nothing calls this directly
no outgoing calls
no test coverage detected