yarn

package
v0.2.102 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type YarnExec

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

func NewExec

func NewExec(execPath string, logger gg_log.ILogger) *YarnExec

func (*YarnExec) ExecuteCommand

func (instance *YarnExec) ExecuteCommand(arguments ...string) (out string, err error)

func (*YarnExec) FlushLog

func (instance *YarnExec) FlushLog()

func (*YarnExec) GetPath

func (instance *YarnExec) GetPath(path string) (response string)

func (*YarnExec) GetTempPath

func (instance *YarnExec) GetTempPath(subPath string) (response string)

func (*YarnExec) GetWorkPath

func (instance *YarnExec) GetWorkPath(subPath string) (response string)

func (*YarnExec) IsInstalled

func (instance *YarnExec) IsInstalled() bool

func (*YarnExec) LogDisableRotation

func (instance *YarnExec) LogDisableRotation()

func (*YarnExec) LogFlush

func (instance *YarnExec) LogFlush()

func (*YarnExec) Pid

func (instance *YarnExec) Pid() int

func (*YarnExec) Root

func (instance *YarnExec) Root() string

func (*YarnExec) SetLogger

func (instance *YarnExec) SetLogger(logger gg_log.ILogger) *YarnExec

func (*YarnExec) SetRoot

func (instance *YarnExec) SetRoot(dir string) *YarnExec

func (*YarnExec) SetSubTemp

func (instance *YarnExec) SetSubTemp(enabled bool) *YarnExec

func (*YarnExec) SetTemp

func (instance *YarnExec) SetTemp(dir string) *YarnExec

func (*YarnExec) Temp

func (instance *YarnExec) Temp() string

func (*YarnExec) TryKill

func (instance *YarnExec) TryKill() error

func (*YarnExec) Version

func (instance *YarnExec) Version() (response string, err error)

func (*YarnExec) Work

func (instance *YarnExec) Work() string

type YarnHelper

type YarnHelper struct {
}
var (
	Yarn *YarnHelper
)

func (*YarnHelper) IsInstalled

func (instance *YarnHelper) IsInstalled() bool

func (*YarnHelper) NewExec

func (instance *YarnHelper) NewExec() *YarnExec

NewExec Creates new yarn exec

func (*YarnHelper) Version

func (instance *YarnHelper) Version() (version string, err error)

Jump to

Keyboard shortcuts

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