utils

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: Apache-2.0 Imports: 4 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirExists

func DirExists(path string) (bool, error)

func FileExists

func FileExists(path string) (bool, error)

FileExists returns true if path exists

func IsFileExecutable

func IsFileExecutable(f os.FileInfo) bool

func RecursiveGetExecutablePaths

func RecursiveGetExecutablePaths(dir string) ([]string, error)

RecursiveGetExecutablePaths finds recursively all executable files inside a dir directory. Hidden directories and files are ignored.

Types

This section is empty.

Jump to

Keyboard shortcuts

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