Export a tar archive containing an ostree commit.
(opts: &ExportOpts)
| 591 | |
| 592 | /// Export a tar archive containing an ostree commit. |
| 593 | fn tar_export(opts: &ExportOpts) -> Result<()> { |
| 594 | let repo = parse_repo(&opts.repo)?; |
| 595 | #[allow(clippy::needless_update)] |
| 596 | let subopts = crate::tar::ExportOptions { |
| 597 | ..Default::default() |
| 598 | }; |
| 599 | crate::tar::export_commit(&repo, opts.rev.as_str(), std::io::stdout(), Some(subopts))?; |
| 600 | Ok(()) |
| 601 | } |
| 602 | |
| 603 | /// Render an import progress notification as a string. |
| 604 | pub fn layer_progress_format(p: &ImportProgress) -> String { |
no test coverage detected