utils

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2020 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheDir

func CacheDir() string

func CopyFile added in v0.3.0

func CopyFile(src, dst string) (int64, error)

func DefaultCacheDir

func DefaultCacheDir() string

func FileWalk

func FileWalk(root string, targetFiles map[string]struct{}, walkFn func(r io.Reader, path string) error) error

func FilterTargets

func FilterTargets(prefixPath string, targets map[string]struct{}) (map[string]struct{}, error)

func SetCacheDir

func SetCacheDir(dir string)

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