refactor: make compression alg string to reuse in cli flags

This commit is contained in:
Julian Tölle 2024-05-02 20:13:41 +02:00
parent f46e5504fc
commit c4280aa898

View file

@ -46,10 +46,10 @@ type UploadOptions struct {
DebugSkipResourceCleanup bool DebugSkipResourceCleanup bool
} }
type Compression int type Compression string
const ( const (
CompressionNone Compression = iota CompressionNone Compression = ""
CompressionBZ2 CompressionBZ2 Compression = "bz2"
// zip,xz,zstd // zip,xz,zstd
) )