file

package
v1.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	B = 1 << (10 * iota)
	KiB
	MiB
	GiB
	TiB
	PiB
)

Variables

This section is empty.

Functions

func Exist added in v1.4.3

func Exist(file string) bool

func FormatFileSize

func FormatFileSize(fileSize int64) (size string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL