From c4280aa8984180bb56eb07198e442e97bf266563 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20T=C3=B6lle?= Date: Thu, 2 May 2024 20:13:41 +0200 Subject: [PATCH] refactor: make compression alg string to reuse in cli flags --- interface.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/interface.go b/interface.go index e4c1928..9479315 100644 --- a/interface.go +++ b/interface.go @@ -46,10 +46,10 @@ type UploadOptions struct { DebugSkipResourceCleanup bool } -type Compression int +type Compression string const ( - CompressionNone Compression = iota - CompressionBZ2 + CompressionNone Compression = "" + CompressionBZ2 Compression = "bz2" // zip,xz,zstd )