MCPcopy Create free account
hub / github.com/dicej/tagger / preload_cache

Function preload_cache

server/src/media.rs:636–668  ·  view source on GitHub ↗

Generate any missing thumbnail and preview artifacts for each of the specified item.

(
    image_lock: &AsyncRwLock<()>,
    image_dir: &str,
    file_data: &FileData,
    cache_dir: &str,
    hash: &str,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

preload_cache_allFunction · 0.85
syncFunction · 0.85

Calls 1

get_variantFunction · 0.85

Tested by

no test coverage detected