package units

import "github.com/vmware/govmomi/units"

Index

Constants

const (
	KB = 1 << (10 * iota)
	MB
	GB
	TB
	PB
	EB
)

Types

type ByteSize

type ByteSize int64

func (*ByteSize) Set

func (b *ByteSize) Set(s string) error

func (ByteSize) String

func (b ByteSize) String() string

type FileSize

type FileSize int64

func (FileSize) String

func (b FileSize) String() string

Source Files

size.go

Version
v0.48.1 (latest)
Published
Feb 11, 2025
Platform
linux/amd64
Imports
4 packages
Last checked
2 months ago

Tools for package owners.