Skip to main content

## thumbnail_get_cached

# Function thumbnail_get_cached

Source

    pub async fn thumbnail_get_cached(
        db: State<'_, DatabaseWrapper>,
        thumbnail_cache: State<'_, ThumbnailCacheWrapper>,
        item_id: String,
        image_type: String,
        tag: String,
    ) -> Result<Option<String>, String>

Expand description

Get cached thumbnail path, returns None if not cached Also updates last_accessed timestamp for LRU tracking