exe

package
v0.0.0-...-3f873ad Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindExe

func FindExe(heads string) []string

FindExe returns the list of file paths of all executables under the heads globing pattern.

func IsExecAll

func IsExecAll(mode os.FileMode) bool

IsExecAll returns true is the file mode indicates the file is executable by owner, group and other.

func IsExecAny

func IsExecAny(mode os.FileMode) bool

IsExecAny returns true is the file mode indicates the file is executable by owner, group or other.

func IsExecGroup

func IsExecGroup(mode os.FileMode) bool

IsExecGroup returns true is the file mode indicates the file is executable by its group.

func IsExecOther

func IsExecOther(mode os.FileMode) bool

IsExecOther returns true is the file mode indicates the file is executable by other.

func IsExecOwner

func IsExecOwner(mode os.FileMode) bool

IsExecOwner returns true is the file mode indicates the file is executable by its owner.

Types

This section is empty.

Jump to

Keyboard shortcuts

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