runtime

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exec

func Exec(env Environment, command string, stdOut io.Writer) error

func HasDependencies

func HasDependencies() bool

Types

type EmptyEnv

type EmptyEnv struct {
	// contains filtered or unexported fields
}

func (*EmptyEnv) Get

func (e *EmptyEnv) Get() map[string]string

func (*EmptyEnv) WorkingDir

func (e *EmptyEnv) WorkingDir() string

type Environment

type Environment interface {
	Get() map[string]string
	WorkingDir() string
}

func EnvWithDir

func EnvWithDir(baseDir string) Environment

Jump to

Keyboard shortcuts

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