Documentation ¶
Index ¶
- Variables
- func CacheDir() string
- func IsBinary(content xio.ReadSeekerAt, fileSize int64) (bool, error)
- func IsCommandAvailable(name string) bool
- func IsExecutable(fileInfo os.FileInfo) bool
- func IsGzip(f *bufio.Reader) bool
- func Keys(m map[string]struct{}) []string
- func StringInSlice(a string, list []string) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var (
PathSeparator = fmt.Sprintf("%c", os.PathSeparator)
)
Functions ¶
func IsBinary ¶ added in v0.33.0
func IsBinary(content xio.ReadSeekerAt, fileSize int64) (bool, error)
func IsCommandAvailable ¶
func IsExecutable ¶ added in v0.31.0
func StringInSlice ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.