Documentation
¶
Index ¶
- type CommitOptions
- type GoGit
- func (g *GoGit) CheckoutToCommit(sha string) error
- func (g *GoGit) Clone(ctx context.Context, url, branch string, caBundle []byte) (bool, error)
- func (g *GoGit) Commit(message git.Commit, opts ...git.Option) (string, error)
- func (g *GoGit) CreateRemote(url, name string) (string, error)
- func (g *GoGit) Head() (string, error)
- func (g *GoGit) Init(url, branch string) (bool, error)
- func (g *GoGit) Path() string
- func (g *GoGit) Push(ctx context.Context, remoteName string, refSpecs []config.RefSpec, ...) error
- func (g *GoGit) Repository() *gogit.Repository
- func (g *GoGit) SetAuth(username string, password string)
- func (g *GoGit) Status() (bool, error)
- func (g *GoGit) Write(path string, reader io.Reader) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommitOptions ¶
type GoGit ¶
type GoGit struct {
// contains filtered or unexported fields
}
func (*GoGit) CheckoutToCommit ¶
func (*GoGit) Repository ¶
func (g *GoGit) Repository() *gogit.Repository
Click to show internal directories.
Click to hide internal directories.