util

package
v2.3.5 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FilePermission os.FileMode = 0o644
)

Variables

This section is empty.

Functions

func Abs

func Abs(wd, p string) string

func AllowOwnerExec

func AllowOwnerExec(mode os.FileMode) os.FileMode

func BoolP added in v2.2.2

func BoolP(a bool) *bool

func Ext

func Ext(s, version string) string

func Int64P added in v2.2.2

func Int64P(a int64) *int64

func IntP added in v2.2.2

func IntP(a int) *int

func IsOwnerExecutable

func IsOwnerExecutable(mode os.FileMode) bool

func MkdirAll

func MkdirAll(fs afero.Fs, p string) error

func StrP added in v2.2.2

func StrP(a string) *string

func Wait

func Wait(ctx context.Context, duration time.Duration) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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