Documentation
¶
Overview ¶
Package graph validates the static task graph: it rejects dependency and task call cycles and over-deep call chains before any action runs. It works on plain node names and edge lists, so it has no knowledge of the task model.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CycleError ¶
type CycleError struct {
// Path lists the cycle starting and ending with the same node.
Path []string
}
CycleError reports a dependency or task call cycle with its full path.
func (*CycleError) Error ¶
func (e *CycleError) Error() string
type DepthError ¶
type DepthError struct {
// Max is the configured maximum depth.
Max int
// Path is the longest chain that exceeded it.
Path []string
}
DepthError reports a call chain longer than the configured maximum.
func (*DepthError) Error ¶
func (e *DepthError) Error() string
Click to show internal directories.
Click to hide internal directories.