Documentation
¶
Index ¶
- type Command
- func (c *Command) CheckoutToCommitByHash(ctx context.Context, hash string) error
- func (c *Command) CoveragePercent(ctx context.Context) (float64, error)
- func (c *Command) GetCurrentCommitHash(ctx context.Context) (string, error)
- func (c *Command) GetPreviousCommitHash(ctx context.Context) (string, error)
- type Coverage
- type Repo
- type TestCoverage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
func NewCommand ¶
func (*Command) CheckoutToCommitByHash ¶
func (*Command) CoveragePercent ¶ added in v1.2.2
func (*Command) GetCurrentCommitHash ¶
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
func (*Repo) AddCoveragePercent ¶ added in v1.2.2
func (*Repo) GetCoveragePercent ¶ added in v1.2.2
type TestCoverage ¶
type TestCoverage struct {
// contains filtered or unexported fields
}
func NewTestCoverage ¶
func NewTestCoverage(projectName string, workingDir string, repo *Repo) *TestCoverage
func (*TestCoverage) IsUpCoverage ¶
func (t *TestCoverage) IsUpCoverage(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.