Skip to main content

is_cache_valid

Function is_cache_valid 

Source
pub fn is_cache_valid(original_path: &Path, cache_path: &Path) -> bool
Expand description

A cached thumbnail is valid as long as it exists and is not older than the source file.