internal

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyFileBased

func ApplyFileBased(rootDir, goroot string, goVersion *goinfo.GoVersion) error

func CompareDirs

func CompareDirs(dirA, dirB string) string

func CpGoroot

func CpGoroot(src, dst string) error

func CreateUnifiedWorktree

func CreateUnifiedWorktree(baseGoroot, progGoroot, fbGoroot string) (wt string, commitProg string, commitFB string, cleanup func(), err error)

func EnsureGoroot

func EnsureGoroot(rootDir, goVersionFlag, gorootFlag string) (string, *goinfo.GoVersion)

func Fatalf

func Fatalf(format string, args ...interface{})

func FindRepoRoot

func FindRepoRoot() string

func IsGitRepo

func IsGitRepo(dir string) bool

func JsonCopyEntries

func JsonCopyEntries(srcDir string) interface{}

func JsonGenerateEntries

func JsonGenerateEntries(srcDir string) interface{}

func JsonGenerateKinds

func JsonGenerateKinds(srcDir string) []string

func Logf

func Logf(format string, args ...interface{})

func NormalizeGoVersion

func NormalizeGoVersion(version string) string

func Output

func Output(dir string, cmdName string, args ...string) (string, error)

func OutputBytes

func OutputBytes(dir string, cmdName string, args ...string) ([]byte, error)

func RunLogged

func RunLogged(dir string, env []string, cmdName string, args ...string) error

func RunXgoSetup

func RunXgoSetup(xgoHome string, useFilePatches bool, goroot string, inPlace bool, skipRebuildCompilerAndGo bool) (string, error)

func ShellQuoteArgs

func ShellQuoteArgs(cmdName string, args []string) string

func SpawnWorktree

func SpawnWorktree(goroot string, keepTemp bool) (string, func())

Types

This section is empty.

Jump to

Keyboard shortcuts

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