Documentation ¶
Overview ¶
This package is dedicated to exec.Command related calls
Licensed Materials - Property of IBM Copyright IBM Corp. 2023. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
This package is deidcated to modifying and checking the environment settings ¶
Licensed Materials - Property of IBM Copyright IBM Corp. 2023. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
Index ¶
- Constants
- func AppendTagString(src []byte, tag string, op string, notice string) ([]byte, error)
- func CloneModuleFromCache(srcdir string, dstdir string, modpath string) error
- func CloneModuleFromVCS(dstdir string, modpath string, version string) error
- func CopyFile(dst, src string) error
- func Format(src *ast.File, fset *token.FileSet) ([]byte, error)
- func GitClone(repo string, dest string) error
- func GoBuild(paths []string) (string, error)
- func GoEnv() (map[string]string, error)
- func GoList(pkgs []string) (string, error)
- func GoListModMain(mod string) error
- func GoListModUpdate(mod string) (string, error)
- func GoListPkgDir(pkg string) (string, error)
- func GoModInit(dir string, path string) error
- func GoModTidy() error
- func GoTest(paths []string) (string, error)
- func GoWorkEditDropReplace(path string) error
- func GoWorkEditReplaceVersion(path string, version string) error
- func GoWorkUse(path string) error
- func Patch(target string, output string, diff []byte) error
- func ReadFile(path string) ([]byte, error)
Constants ¶
View Source
const INTERNAL_PATH_PREFIX = "//:INTERNAL/"
Variables ¶
This section is empty.
Functions ¶
func AppendTagString ¶
Adds the 'zos' build tag to a file
func CloneModuleFromCache ¶ added in v1.1.0
Copies a module to the given path
func CloneModuleFromVCS ¶ added in v1.1.0
Copies a module to the given path
func GoListModMain ¶
func GoWorkEditDropReplace ¶
Drop replace entry in go.mod
func GoWorkEditReplaceVersion ¶
Replace entry in go.mod
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.