Documentation
¶
Index ¶
- type Git
- func (git *Git) ActiveBranch() (string, error)
- func (git *Git) Branches() (branches []string, err error)
- func (git *Git) Checkout(branch string) error
- func (git *Git) Command(args ...string) (string, error)
- func (git *Git) DeleteBranch(branch string) error
- func (git *Git) Export(destination string) error
- func (git *Git) Fetch(remote string, args ...string) error
- func (git *Git) Pull(remote string) error
- func (git *Git) RemoteBranches(remote string) (branches []string, err error)
- func (git *Git) RevisionLog(revision string) (string, error)
- func (git *Git) SimpleLog(path string, limit int) (logs []*Log, err error)
- type Log
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Git ¶
type Git struct {
Dir string
}
func (*Git) ActiveBranch ¶
func (*Git) DeleteBranch ¶
func (*Git) RemoteBranches ¶
Click to show internal directories.
Click to hide internal directories.