Function wasmcloud_core::par::cache_path
source · pub fn cache_path(
host_id: impl AsRef<str>,
provider_ref: impl AsRef<str>,
) -> PathBuf
Expand description
Returns the path to the cache file for a provider
§Arguments
host_id
- The host ID this provider is starting on. Required in order to isolate provider caches for different hostsprovider_ref
- The provider reference, e.g. file or OCI