wit_deps

Function 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