| 54 | } |
| 55 | |
| 56 | std::string EffectiveImageCacheDir(const AppSettings& s, const std::string& data_dir) { |
| 57 | return s.image_cache_dir.empty() ? DefaultImageCacheDir(data_dir) : s.image_cache_dir; |
| 58 | } |
| 59 | |
| 60 | std::vector<image_source::ImageSource> EffectiveSources(const AppSettings& s) { |
| 61 | return s.sources.empty() ? image_source::DefaultSources() : s.sources; |
no test coverage detected