Documentation ¶
Index ¶
- type Info
- func (r *Info) BranchList() []string
- func (r *Info) GetBranchSHA(name string, short bool) string
- func (r *Info) GetTagSHA(name string, short bool) string
- func (r *Info) HasBranch(name string) bool
- func (r *Info) HasTag(name string) bool
- func (r *Info) Rewrite(headName string, headType RefType) []byte
- func (r *Info) TagList() []string
- type RefType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct {
// contains filtered or unexported fields
}
Info contains all refs info
func (*Info) BranchList ¶
BranchList returns slice of branch names
func (*Info) GetBranchSHA ¶
GetBranchSHA returns SHA for given branch
Click to show internal directories.
Click to hide internal directories.