Files
podman/pkg/machine
Mario Loriedo 88af8852db Refactor machine decompress.go
Added some tests to verify that files extractions works
with different compression format.

Created a decompressor interface with 2 main methods:
  reader(): returns an io.Reader for the specific compression algorithm
  copy(): extracts the compressed file into the file provided as param

Created 5 decompressor types:
- gzip: extract gzip files
- xz: extract xz files
- zip: extract zip files
- generic: extract any other file using github.com/containers/image/v5/pkg/compression
- uncompressed: only do a copy of the file

Minor fix to the progress bar instances: added a call to bar.Abort(false)
that happens before Progress.Wait() to avoid that it hangs when a bar is
not set as completed although extraction is done.

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2024-02-25 22:29:02 +01:00
..
2024-02-07 08:17:43 -06:00
2024-02-08 09:35:39 -05:00
2024-02-11 12:58:11 -06:00
2024-02-11 12:58:11 -06:00
2023-10-12 09:26:06 -04:00
2024-02-16 14:41:14 +01:00
2024-02-07 08:17:43 -06:00
2024-02-07 08:17:43 -06:00
2024-02-08 09:35:39 -05:00
2024-02-07 08:17:43 -06:00
2024-02-15 21:05:17 -06:00
2024-02-07 08:17:43 -06:00
2024-02-08 09:35:39 -05:00
2024-02-08 09:35:39 -05:00