Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMissingDeadline = errors.New("gitexec: missing deadline")
ErrMissingDeadline is returned when Run is called with a context that has no deadline.
Functions ¶
This section is empty.
Types ¶
type Exec ¶
type Exec interface {
LookPath(name string) (string, error)
Run(ctx context.Context, name string, args ...string) ([]byte, error)
RunJSON(ctx context.Context, name string, args ...string) ([]byte, error)
}
Exec is the injectable CLI surface used by forge and local git callers.
Click to show internal directories.
Click to hide internal directories.