dir

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckDirExist

func CheckDirExist(path string) bool

func CheckFileExist

func CheckFileExist(path string) bool

func CreateDirIfNotExist

func CreateDirIfNotExist(path string) error

func DirSize added in v0.3.0

func DirSize(path string) (int64, error)

func FormatFileSize added in v0.3.0

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