mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-09-30 23:44:53 +02:00
``` * use go 1.17 semantics in go.mod * pin tonistiigi/fsutil dep to match docker/docker's dep go get -u ./... go mod vendor ```
13 lines
232 B
Go
13 lines
232 B
Go
package io
|
|
|
|
const (
|
|
// Byte is 8 bits
|
|
Byte int64 = 1
|
|
// KibiByte (KiB) is 1024 Bytes
|
|
KibiByte = Byte * 1024
|
|
// MebiByte (MiB) is 1024 KiB
|
|
MebiByte = KibiByte * 1024
|
|
// GibiByte (GiB) is 1024 MiB
|
|
GibiByte = MebiByte * 1024
|
|
)
|