Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion crates/oci/src/loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,17 @@ impl OciLoader {
}
}

async fn resolve_component_content_refs(
/// Resolves all digest references in the component (including source, dependencies,
/// and asset files). Wasm sources are replaced with cache paths. Asset files are
/// collected to a mount path, and the component `files` amended to reflect that.
///
/// This function assumes that:
///
/// 1. All resolvable items have digest or inline sources.
/// 2. All digest-addressed content is already in the cache.
///
/// If either of these is not true, the function errors.
pub async fn resolve_component_content_refs(
&self,
component: &mut LockedComponent,
cache: &Cache,
Expand Down