git

package
v0.0.0-...-d711150 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Git

type Git struct {
	// contains filtered or unexported fields
}

func (*Git) Add

func (g *Git) Add() (err error)

func (*Git) Checkout

func (g *Git) Checkout(branch, repDir string) error

func (*Git) CommitAndPush

func (g *Git) CommitAndPush(branch string) (err error)

func (*Git) Destroy

func (g *Git) Destroy()

func (*Git) New

func (g *Git) New(repDir string, data I1CCommit, mapUser map[string]string) *Git

New - конструктор

func (*Git) Pull

func (g *Git) Pull(branch string) (err error)

func (*Git) Push

func (g *Git) Push() (err error)

func (*Git) ResetHard

func (g *Git) ResetHard(branch string) (err error)

type I1CCommit

type I1CCommit interface {
	GetComment() string
	GetAuthor() string
	GetDateTime() *time.Time
}

Jump to

Keyboard shortcuts

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