Skip to main content

released_cache_content

Function released_cache_content 

Source
pub fn released_cache_content(
    cache: &SessionCache,
    path: &str,
) -> Option<String>
Expand description

The content of one session-cache entry as the cache’s current-rights accessor releases it NOW (SessionCache::current_full_content): the source still exists and is permitted under today’s policy, an entry without a source follows the originless rule, and a copy whose original may not be kept is not served. None: no entry, or not released. Tools that derive from cached entries (checkpoints, dedup analysis) use this instead of the raw entry.