Documentation
¶
Index ¶
- Constants
- Variables
- type Client
- type Config
- type Entry
- type Head
- type Header
- type Index
- type Refs
- func (r *Refs) AddBranch(rootGoitPath, newBranchName string, newBranchHash sha.SHA1) error
- func (r *Refs) DeleteBranch(rootGoitPath, headBranchName, deleteBranchName string) error
- func (r *Refs) ListBranches(headBranchName string)
- func (r *Refs) RenameBranch(head *Head, rootGoitPath, newBranchName string) error
Constants ¶
View Source
const (
NewBranchFlag = -1
)
Variables ¶
View Source
var ( ErrInvalidHead = errors.New("error: invalid HEAD format") ErrIOHandling = errors.New("IO handling error") )
View Source
var (
ErrInvalidIdentifier = errors.New("fatal: invalid identifier")
)
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func (*Config) GetUserName ¶ added in v1.3.0
type Index ¶
func (*Index) DeleteEntry ¶ added in v1.4.0
func (*Index) DeleteUntrackedFiles ¶
type Refs ¶ added in v1.8.0
type Refs struct {
Heads []*branch
}
func (*Refs) DeleteBranch ¶ added in v1.8.0
func (*Refs) ListBranches ¶ added in v1.8.0
Click to show internal directories.
Click to hide internal directories.