Skip to main content

lookup

Function lookup 

Source
pub fn lookup(source: &str, dest: &str, key: RenderKey) -> Option<CacheHit>
Expand description

Look the cache up. On hit: hardlink/copy into dest, refresh the cache entry’s mtime, return Some(CacheHit{dims}). On miss or any I/O hiccup, return None so the caller falls through to a real conversion.