Documentation ¶
Index ¶
- func BranchTime(name string) (int, error)
- func Delivered(info *BranchInfo, remote string) (localBranches []string, remoteBranches []string)
- func Ready(info *BranchInfo, remote string, prefix string) (remoteBranches []string)
- type BranchInfo
- type Git
- func (os *Git) Add(argv ...string) (string, error)
- func (os *Git) Branch(argv ...string) (string, error)
- func (os *Git) CheckOut(argv ...string) (string, error)
- func (os *Git) Commit(argv ...string) (string, error)
- func (os *Git) Config(argv ...string) (string, error)
- func (os *Git) Fetch(argv ...string) (string, error)
- func (os *Git) LSRemote(argv ...string) (string, error)
- func (os *Git) Merge(argv ...string) (string, error)
- func (os *Git) Pull(argv ...string) (string, error)
- func (os *Git) Push(argv ...string) (string, error)
- func (os *Git) RevParse(argv ...string) (string, error)
- func (os *Git) Status(argv ...string) (string, error)
- type RemoteInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BranchTime ¶ added in v1.0.0
Deprecated BranchTime ...
Types ¶
type BranchInfo ¶
BranchInfo ... info for branches
type Git ¶
type Git struct {
Run executor.GitCommandRunner
}
Git ... Git object for execution operations on the local git installation
type RemoteInfo ¶
RemoteInfo ...
func OrgAndRepo ¶
func OrgAndRepo(url string) *RemoteInfo
OrgAndRepo ... Expects input from LSRemote Extracts the Organization and repository name from a remote URL returned from git ls-remote this is only meant to work for github because they have a multi-tenant system where organization and repository is used to query their API
Click to show internal directories.
Click to hide internal directories.