import_tar

Function import_tar 

Source
pub async fn import_tar(
    repo: &Repo,
    src: impl AsyncRead + Send + Unpin + 'static,
    options: Option<TarImportOptions>,
) -> Result<String>
Expand description

Read the contents of a tarball and import the ostree commit inside. Returns the sha256 of the imported commit.