archive: add CompressFormat type with initial constants (MR 25)
This commit is contained in:
@@ -21,6 +21,12 @@ import (
|
||||
"gitlab.com/postmarketOS/postmarketos-mkinitfs/internal/osutil"
|
||||
)
|
||||
|
||||
type CompressFormat string
|
||||
|
||||
const (
|
||||
FormatGzip CompressFormat = "gzip"
|
||||
)
|
||||
|
||||
type Archive struct {
|
||||
items archiveItems
|
||||
cpioWriter *cpio.Writer
|
||||
|
Reference in New Issue
Block a user