Documentation
¶
Overview ¶
Package branchlock detects branch state that should block unsafe edits.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collision ¶
type Collision struct {
Branch string `json:"branch"`
Module string `json:"module"`
LaneIDs []string `json:"lane_ids"`
}
func DetectCollisions ¶
type Intent ¶
type Intent struct {
LaneID string `json:"lane_id"`
Branch string `json:"branch"`
Worktree string `json:"worktree,omitempty"`
Modules []string `json:"modules,omitempty"`
}
func NormalizeIntent ¶
func NormalizeIntents ¶
func (*Intent) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.