git

package
v0.0.0-...-c1ac5a8 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitAccount

type GitAccount struct {
	Token                   string
	GitHubAppID             string
	GitHubAppInstallationID string
	GitHubAppPrivateKey     string
	Name                    string
	Email                   string
}

func New

func New(name, email, token, userName, password, githubAppID, githubAppInstallationID, githubAppPrivateKey string) GitAccount

func (*GitAccount) CommitAll

func (g *GitAccount) CommitAll(path, message string) error

func (*GitAccount) CommitAndPush

func (g *GitAccount) CommitAndPush(path, message string) error

func (*GitAccount) PrepareRepository

func (g *GitAccount) PrepareRepository(repo, path, branch string) error

func (*GitAccount) Remove

func (g *GitAccount) Remove(workTree, path string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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