Function asset_destination

Source
pub fn asset_destination(
    data_dir: &Path,
    kind: EntityKind,
    identifier: &str,
) -> Option<PathBuf>
Expand description

Confined cache directory for an artist or label’s opaque identifier.

A source identifier is data, never a path. Existing directories below the configured data folder must be ordinary directories; these static checks do not prevent another process replacing them concurrently.