cliutil

package
v0.6.18 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2022 License: MPL-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsurePermissions

func EnsurePermissions() error

EnsurePermissions changes the permissions of all earthly files to be owned by the user and their group.

func GetEarthlyDir

func GetEarthlyDir() string

GetEarthlyDir returns the .earthly dir. (Usually ~/.earthly). This function will not attempt to create the directory if missing, for that functionality use to the GetOrCreateEarthlyDir function.

func GetOrCreateEarthlyDir

func GetOrCreateEarthlyDir() (string, error)

GetOrCreateEarthlyDir returns the .earthly dir. (Usually ~/.earthly). if the directory does not exist, it will attempt to create it.

func IsBootstrapped

func IsBootstrapped() bool

IsBootstrapped provides a tentatively correct guess about the state of our bootstrapping.

Types

This section is empty.

Jump to

Keyboard shortcuts

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