Function cacache::metadata

source ·
pub async fn metadata<P, K>(cache: P, key: K) -> Result<Option<Metadata>>
where P: AsRef<Path>, K: AsRef<str>,
Expand description

Gets the metadata entry for a certain key.

Note that the existence of a metadata entry is not a guarantee that the underlying data exists, since they are stored and managed independently. To verify that the underlying associated data exists, use exists().