tool

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OsType = runtime.GOOS
)

Functions

func CheckPath

func CheckPath(path string) (string, error)

func ExtendDirEntries

func ExtendDirEntries(entries *[][]fs.DirEntry, index int)

func GetDirEntryNum

func GetDirEntryNum(entries map[string][]*fs.DirEntry) int

func GetFileName

func GetFileName(path string) string

func GetFileType

func GetFileType(path string) string

func IntToString

func IntToString(num int) string

func IsBinary added in v0.1.1

func IsBinary(name string) bool

func IsBinaryInPath added in v0.1.1

func IsBinaryInPath(path string) bool

func NewFilePath

func NewFilePath(currentPath, newDirectory, subDirectory, fileName string) string

func ParseTimeSpan

func ParseTimeSpan(timeSpan string) (time.Duration, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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