Documentation
¶
Overview ¶
Package ops parses intent-level operations. The user expresses WHAT resolved ownership should look like; the planner decides which lines change. Scope is a directory, file path, or glob (§4.1).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Op ¶
type Op struct {
Kind Kind `json:"kind"`
Scope string `json:"scope,omitempty"` // pattern text; empty for rename_owner
Owner string `json:"owner,omitempty"` // add/remove target; rename old name
NewOwner string `json:"new_owner,omitempty"` // rename new name
Owners []string `json:"owners,omitempty"` // set_owners exact set (non-nil, may be empty)
Raw string `json:"raw"`
}
Op is one parsed operation.
Click to show internal directories.
Click to hide internal directories.