Documentation
¶
Index ¶
- func IsUnknownRevision(err error) bool
- type GitCLI
- func (cli *GitCLI) FullCommit(ctx context.Context) (string, error)
- func (cli *GitCLI) GitDir(ctx context.Context) (string, error)
- func (cli *GitCLI) IsDirty(ctx context.Context) bool
- func (cli *GitCLI) IsInsideWorkTree(ctx context.Context) bool
- func (cli *GitCLI) RemoteURL(ctx context.Context) (string, error)
- func (cli *GitCLI) ShortCommit(ctx context.Context) (string, error)
- func (cli *GitCLI) Tag(ctx context.Context) (string, error)
- func (cli *GitCLI) WorkTree(ctx context.Context) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsUnknownRevision ¶ added in v0.10.3
Types ¶
type GitCLI ¶ added in v0.34.0
GitCLI represents an active git object.
func (*GitCLI) FullCommit ¶ added in v0.34.0
func (*GitCLI) IsInsideWorkTree ¶ added in v0.34.0
func (*GitCLI) ShortCommit ¶ added in v0.34.0
Click to show internal directories.
Click to hide internal directories.