MCPcopy Create free account
hub / github.com/78/tenbox / EffectiveImageCacheDir

Function EffectiveImageCacheDir

src/manager/app_settings.cpp:56–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56std::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
60std::vector<image_source::ImageSource> EffectiveSources(const AppSettings& s) {
61 return s.sources.empty() ? image_source::DefaultSources() : s.sources;

Callers 2

EffectiveImagesDirFunction · 0.85
ImagesDirMethod · 0.85

Calls 1

DefaultImageCacheDirFunction · 0.85

Tested by

no test coverage detected