podman/pkg/machine/compression
Paul Holzinger ea1eeb523f
remove github.com/crc-org/crc/v2 dependency
There is one user in the code and one in the tests.
First the test is testing an external function that doesn't seem to make
a lot of sense.

Second when we pull the machine image and renmae doesn't work it would
mean it is on a different disk. That should never happen.
The oci pull is to
~/.local/share/containers/podman/machine/<provider>/cache/<sha>/...
and then it gets moved to
~/.local/share/containers/podman/machine/qemu/cache/<sha>.<extension>

These can under normal circumstances never be on different disk as it
would mean the pulled sha is known ahead of time and then that the blob
path is a mount point which is unrealistic and not something we have to
support.

It also removes three transitive dependencies.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-03-31 14:39:51 +02:00
..
testdata Better file close and err handling 2024-02-25 22:29:03 +01:00
compression_test.go Machine decompress.go refactoring follow-up 2024-03-13 00:58:50 +01:00
config.go zstd now default compression for podman machine 2024-02-20 14:26:41 -06:00
decompress.go pkg/machine/compression: skip decompress bar for empty file 2024-07-18 13:23:00 +02:00
generic.go Machine decompress.go refactoring follow-up 2024-03-13 00:58:50 +01:00
sparse_file_writer.go Avoid reliance on fs.ErrClosed in SparseWriter users 2024-03-07 14:46:12 +01:00
sparse_file_writer_test.go Avoid reliance on fs.ErrClosed in SparseWriter users 2024-03-07 14:46:12 +01:00
uncompressed.go Avoid reliance on fs.ErrClosed in SparseWriter users 2024-03-07 14:46:12 +01:00
zip.go Avoid reliance on fs.ErrClosed in SparseWriter users 2024-03-07 14:46:12 +01:00