utils

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2024 License: AGPL-3.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PathSeparator = fmt.Sprintf("%c", os.PathSeparator)
)

Functions

func CacheDir

func CacheDir() string

func CreateFilterPathFunc

func CreateFilterPathFunc(filenames []string) types.FilterFunc

CreateFilterPathFunc :

func IsCommandAvailable

func IsCommandAvailable(name string) bool

func IsGzip

func IsGzip(f *bufio.Reader) bool

func StringInSlice

func StringInSlice(a string, list []string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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