gittest

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clone

func Clone(t *testing.T, ts *httptest.Server, repo, worktree string) *git.Repository

func CommitAll

func CommitAll(t *testing.T, r *git.Repository, msg string)

func CreateRemoteBranch

func CreateRemoteBranch(t *testing.T, r *git.Repository, branchName string)

func NewServer

func NewServer(t *testing.T, repo, dir string) *httptest.Server

func PushTags

func PushTags(t *testing.T, r *git.Repository)

func SetTag

func SetTag(t *testing.T, r *git.Repository, tag string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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