tools

package
v0.0.32 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(dest string, src ...string)

func CopyDir

func CopyDir(src, dest string, workingDir ...string)

func CopyFile

func CopyFile(src, dest string)

func EnsureRepo

func EnsureRepo(root, repo, dir string)

func ExecCollect

func ExecCollect(name string, args ...string) string

func ExecPlain

func ExecPlain(name string, args ...string)

func ExecPlainWith

func ExecPlainWith(f func(*exec.Cmd), name string, args ...string)

func ExecPlainWithWorkingPath

func ExecPlainWithWorkingPath(dir, name string, args ...string)

func Exit

func Exit(a ...string)

func MkDir

func MkDir(path ...string)

func Package

func Package(module string) *debug.Module

func Pkg

func Pkg(pkg string) string

func ReadFile

func ReadFile(path string) []byte

func Remove

func Remove(path string)

func Root

func Root(pkg string) string

func RootVince

func RootVince() string

func Version

func Version() string

func WriteFile

func WriteFile(path string, data []byte)

Types

This section is empty.

Jump to

Keyboard shortcuts

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