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 ForwardGitHelp() error
- func GlobalConfig(name string) (string, error)
- func HasFile(segments ...string) bool
- func Head() (string, error)
- func IsGitDir(dir string) bool
- func Log(sha1, sha2 string) (string, error)
- func ParseURL(rawURL string) (u *url.URL, err error)
- func Ref(ref string) (string, error)
- func RefList(a, b string) ([]string, error)
- func Remotes() ([]string, error)
- func Run(command string, args ...string) error
- func SetGlobalConfig(name, value string) error
- func Show(sha string) (string, error)
- func SymbolicFullName(name string) (string, error)
- func Version() (string, error)
- func WorkdirName() (string, error)
- 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 ForwardGitHelp ¶
func ForwardGitHelp() error
func GlobalConfig ¶
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.