base

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrStdinEmpty = errors.New("no data from STDIN available")

Functions

func CanUse

func CanUse(subject string, includes []glob.Glob, excludes []glob.Glob) bool

func CleanPath

func CleanPath(path string) string

func CleanPathSlash

func CleanPathSlash(path string) string

func Flipper_GetCleanPath

func Flipper_GetCleanPath(parts ...string) string

func Flipper_GetCleanPathWithoutStorage

func Flipper_GetCleanPathWithoutStorage(parts ...string) string

func ListFiles

func ListFiles(root string, includes []glob.Glob, excludes []glob.Glob, handler contract.FileWalker) error

func ReadFromStdin

func ReadFromStdin(buffer []byte) (int, error)

func ToGlobArray

func ToGlobArray(filters []string) ([]glob.Glob, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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