We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5cb334 commit d5a691fCopy full SHA for d5a691f
1 file changed
crates/oci/src/loader.rs
@@ -100,7 +100,17 @@ impl OciLoader {
100
}
101
102
103
- async fn resolve_component_content_refs(
+ /// Resolves all digest references in the component (including source, dependencies,
104
+ /// and asset files). Wasm sources are replaced with cache paths. Asset files are
105
+ /// collected to a mount path, and the component `files` amended to reflect that.
106
+ ///
107
+ /// This function assumes that:
108
109
+ /// 1. All resolvable items have digest or inline sources.
110
+ /// 2. All digest-addressed content is already in the cache.
111
112
+ /// If either of these is not true, the function errors.
113
+ pub async fn resolve_component_content_refs(
114
&self,
115
component: &mut LockedComponent,
116
cache: &Cache,
0 commit comments