Documentation
¶
Index ¶
- func IsUnknownRevision(err error) bool
- type Git
- func (c *Git) FullCommit() (string, error)
- func (c *Git) GitDir() (string, error)
- func (c *Git) IsDirty() bool
- func (c *Git) IsInsideWorkTree() bool
- func (c *Git) RemoteURL() (string, error)
- func (c *Git) RootDir() (string, error)
- func (c *Git) Run(args ...string) (string, error)
- func (c *Git) ShortCommit() (string, error)
- func (c *Git) Tag() (string, error)
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsUnknownRevision ¶ added in v0.10.3
Types ¶
type Git ¶
type Git struct {
// contains filtered or unexported fields
}
Git represents an active git object
func (*Git) FullCommit ¶
func (*Git) IsInsideWorkTree ¶
func (*Git) ShortCommit ¶
Click to show internal directories.
Click to hide internal directories.