spiegel_podman/pkg/machine/compression
Miloslav Trmač 5e0b7e54c0 Avoid reliance on fs.ErrClosed in SparseWriter users
Neither of the SparseWriter users actually _wants_ the underlying
WriteSeeker to be closed; so, don't.

That makes it clear where the responsibility for closing the file
lies, and allows us to remove the reliance on the destinations
reliably returning ErrClosed.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2024-03-07 14:46:12 +01:00
..
testdata Better file close and err handling 2024-02-25 22:29:03 +01:00
compression_test.go Remove xz unit tests as they are flaky 2024-02-28 15:37:15 +01:00
config.go zstd now default compression for podman machine 2024-02-20 14:26:41 -06:00
copy_test.go Vendor crc CopySparse 2024-02-09 19:33:56 +01:00
decompress.go Avoid reliance on fs.ErrClosed in SparseWriter users 2024-03-07 14:46:12 +01:00
generic.go Avoid reliance on fs.ErrClosed in SparseWriter users 2024-03-07 14:46:12 +01:00
gzip.go Avoid reliance on fs.ErrClosed in SparseWriter users 2024-03-07 14:46:12 +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
xz.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
zstd.go Avoid reliance on fs.ErrClosed in SparseWriter users 2024-03-07 14:46:12 +01:00