Function wit_deps::tar

source ·
pub async fn tar<T>(path: impl AsRef<Path>, dst: T) -> Result<T>
where T: AsyncWrite + Sync + Send + Unpin,
Expand description

Packages path into a wit subtree in deterministic tar archive and writes it to dst.

§Errors

Returns and error if the operation fails