git

package
v1.39.18 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SyncRepo = syncRepo

SyncRepo syncs the target git repository with skaffold's local cache and returns the path to the repository root directory.

Functions

func GetRepoCacheDir added in v1.26.0

func GetRepoCacheDir(opts config.SkaffoldOptions) (string, error)

GetRepoCacheDir returns the directory for the remote git repo cache

func SyncDisabledErr added in v1.30.0

func SyncDisabledErr(g latest.GitInfo, repoCacheDir string) error

SyncDisabledErr returns error when git repository sync is turned off by the user but the repository clone doesn't exist inside the cache directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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