tmp

package
v0.55.1 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//Directory defines where updatecli will save temporary files like git clone.
	Directory    = path.Join(os.TempDir(), "updatecli")
	BinDirectory = path.Join(Directory, "bin")
)

Functions

func Clean

func Clean() error

Clean removes the Updatecli temporary root directory.

func Create

func Create() error

Create creates Updatecli temporary directory

func InitBin added in v0.44.0

func InitBin() (string, error)

InitBin creates a bin directory used by updatecli to store and execute command

Types

This section is empty.

Jump to

Keyboard shortcuts

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