package gittestutil
import "github.com/docker/buildx/util/gitutil/gittestutil"
Index ¶
- func GitAdd(c *gitutil.Git, tb testing.TB, files ...string)
- func GitCheckoutBranch(c *gitutil.Git, tb testing.TB, name string)
- func GitCommit(c *gitutil.Git, tb testing.TB, msg string)
- func GitInit(c *gitutil.Git, tb testing.TB)
- func GitServeHTTP(c *gitutil.Git, t testing.TB, opts ...GitServeOpt) (url string)
- func GitSetMainUpstream(c *gitutil.Git, tb testing.TB, remote, target string)
- func GitSetRemote(c *gitutil.Git, tb testing.TB, name string, url string)
- func GitTag(c *gitutil.Git, tb testing.TB, tag string)
- func IsAmbiguousArgument(err error) bool
- func Mktmp(tb testing.TB) string
- type GitServeOpt
Functions ¶
func GitAdd ¶
func GitCheckoutBranch ¶
func GitCommit ¶
func GitInit ¶
func GitServeHTTP ¶
func GitSetMainUpstream ¶
func GitSetRemote ¶
func GitTag ¶
func IsAmbiguousArgument ¶
func Mktmp ¶
Types ¶
type GitServeOpt ¶
type GitServeOpt func(*gitServe)
func WithAccessToken ¶
func WithAccessToken(token string) GitServeOpt
Source Files ¶
- Version
- v0.23.0 (latest)
- Published
- Apr 15, 2025
- Platform
- js/wasm
- Imports
- 10 packages
- Last checked
- 11 hours ago –
Tools for package owners.