dep

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const EXE = ""

Variables

View Source
var ErrPromptCancelled = errors.New("Prompt cancelled")

Functions

func IsPosixSudo

func IsPosixSudo() (bool, error)

func IsW32onW64

func IsW32onW64() bool

Types

type File

type File struct {
	Path string
	Perm os.FileMode
	Data []byte
}

func (*File) Expand

func (f *File) Expand(dir string) error

type TargetPrompt

type TargetPrompt struct {
	DefaultDir   string
	MainExe      string
	Lookup       bool
	CheckVerArgs []string
	AllowCustom  bool
	AvoidGoBin   bool
}

func (*TargetPrompt) Run

func (tp *TargetPrompt) Run() (string, error)

Jump to

Keyboard shortcuts

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