Skip to main content

resolve_db_snapshots

Function resolve_db_snapshots 

Source
pub async fn resolve_db_snapshots<'a, FS, I>(
    nodes: I,
    ns: &DynNamespace,
    filesystem: &FS,
) -> Result<ResolvedDbSnapshots, ProviderError>
where FS: FileSystem, I: IntoIterator<Item = &'a NodeSpec>,
Expand description

Walk every node’s db_snapshot, deduplicate by AssetLocation, and fetch each unique location once into the namespace cache. Returns a map from the original AssetLocation to the local cache PathBuf.