package
0.39.3
Repository: https://github.com/googlecontainertools/kpt.git
Documentation: pkg.go.dev

# Functions

NewLocalGitRunner returns a new GitRunner for a local package.
NewUpstreamGitRunner returns a new GitRunner for an upstream package.

# Constants

RepoCacheDirEnv is the name of the environment variable that controls the cache directory for remote repos.

# Variables

DefaultRef returns the DefaultRef to "master" if master branch exists in remote repository, falls back to "main" if master branch doesn't exist Making it a var so that it can be overridden for local testing.

# Structs

GitRunner runs git commands in a git repo.