Documentation ¶
Index ¶
- Variables
- func Alias(name string) (string, error)
- func BranchAtRef(paths ...string) (name string, err error)
- func CommentChar() string
- func Config(name string) (string, error)
- func ConfigAll(name string) ([]string, error)
- func Dir() (string, error)
- func Editor() (string, error)
- func GlobalConfig(name string) (string, error)
- func HasFile(segments ...string) bool
- func Head() (string, error)
- func IsGitDir(dir string) bool
- func LocalBranches() ([]string, error)
- func Log(sha1, sha2 string) (string, error)
- func ParseURL(rawURL string) (u *url.URL, err error)
- func Quiet(args ...string) bool
- func Ref(ref string) (string, error)
- func RefList(a, b string) ([]string, error)
- func Remotes() ([]string, error)
- func Run(args ...string) error
- func SetGlobalConfig(name, value string) error
- func Show(sha string) (string, error)
- func Spawn(args ...string) error
- func SymbolicFullName(name string) (string, error)
- func Version() (string, error)
- func WorkdirName() (string, error)
- type Range
- type SSHConfig
- type SSHConfigReader
- type URLParser
Constants ¶
This section is empty.
Variables ¶
View Source
var GlobalFlags []string
Functions ¶
func BranchAtRef ¶
func CommentChar ¶
func CommentChar() string
func GlobalConfig ¶
func LocalBranches ¶
func SetGlobalConfig ¶
func SymbolicFullName ¶
func WorkdirName ¶
Types ¶
type SSHConfigReader ¶
type SSHConfigReader struct {
Files []string
}
func (*SSHConfigReader) Read ¶
func (r *SSHConfigReader) Read() SSHConfig
Click to show internal directories.
Click to hide internal directories.