Documentation
¶
Overview ¶
Package scope resolves the --commit-scope flag value into the absolute repo path that an audit record should be bound to. The trailer-emitting
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotInRepo = errors.New("scope: cwd is not inside a git repo; pass --commit-scope=<repo-path> explicitly")
ErrNotInRepo is returned when --commit-scope=auto is requested but cwd is not inside a git repo. Caller is expected to pass --commit-scope
View Source
var ErrOptOutRejected = errors.New("scope: --commit-scope opt-out is not supported; pass an explicit repo path")
ErrOptOutRejected is returned when the caller passes a value meant to disable binding ("-", "none", "off"). The opt-out hatch was removed -
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.