Documentation
¶
Index ¶
- func CloneRepo(org, name string, basePath string, branch string) error
- func Command(ctx context.Context, command string) *exec.Cmd
- func CommandDir(ctx context.Context, dir, command string) *exec.Cmd
- func ConnectStd(cmd *exec.Cmd)
- func GetPkgDir(pkg string) (string, error)
- func GetToolPath(name string) (string, error)
- func InstallTool(url, version string, force bool) error
- func InstallTools(tools map[string]string, force bool) error
- func Out(ctx context.Context, command string) ([]byte, error)
- func OutDir(ctx context.Context, dir, command string) ([]byte, error)
- func Pipe(first, second string) error
- func Run(ctx context.Context, commands ...string) error
- func RunDir(ctx context.Context, dir string, commands ...string) error
- func UpdateRepo(name string, basePath string, branch string) error
- type Checksummer
- type Group
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectStd ¶
func GetToolPath ¶
func InstallTool ¶
Types ¶
type Checksummer ¶
type Checksummer struct {
IgnoredPaths []string
// contains filtered or unexported fields
}
A helper checksum library that generates a fast, non-portable checksum over a directory of files it's designed as a quick way to bypass
func NewChecksummer ¶
func NewChecksummer(dir string, checksumfile string, exts ...string) *Checksummer
func (*Checksummer) IsChanged ¶
func (c *Checksummer) IsChanged() bool
func (*Checksummer) ReadChecksum ¶
func (c *Checksummer) ReadChecksum() (string, error)
func (*Checksummer) WriteChecksum ¶
func (c *Checksummer) WriteChecksum() error
Click to show internal directories.
Click to hide internal directories.