pub async fn untar( tar: impl AsyncRead + Unpin, dst: impl AsRef<Path>, skip_deps: &HashSet<Identifier>, subdir: &str, ) -> Result<HashMap<Identifier, PathBuf>>
Unpacks all WIT interfaces found within wit subtree of a tar archive read from tar to dst and returns a HashMap of all unpacked transitive dependency identifiers.
wit
tar
dst
Returns and error if the operation fails