Documentation ¶
Index ¶
- Variables
- func CacheDir() string
- func CleanSkipPaths(skipPaths []string) []string
- func ExtractPrintableBytes(content xio.ReadSeekerAt) ([]byte, error)
- 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 SkipPath(path string, skipPaths []string) bool
- func StringInSlice(a string, list []string) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var (
PathSeparator = fmt.Sprintf("%c", os.PathSeparator)
)
Functions ¶
func CleanSkipPaths ¶
func ExtractPrintableBytes ¶
func ExtractPrintableBytes(content xio.ReadSeekerAt) ([]byte, error)
func IsCommandAvailable ¶
func IsExecutable ¶
func StringInSlice ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.