Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsSagaPath ¶
Types ¶
type Atom ¶
type Atom struct {
Key string `json:"key"`
URI string `json:"uri"`
Kind string `json:"kind"`
Path string `json:"path,omitempty"`
Side string `json:"side,omitempty"`
Line int `json:"line,omitempty"`
Content string `json:"content,omitempty"`
Event string `json:"event,omitempty"`
OldPath string `json:"old_path,omitempty"`
NewPath string `json:"new_path,omitempty"`
}
type ChangeSet ¶
type ChangeSet struct {
Repository string `json:"repository"`
Base string `json:"base"`
Head string `json:"head"`
BaseOID string `json:"base_oid"`
HeadOID string `json:"head_oid"`
Atoms []Atom `json:"atoms"`
SagaChanges []Atom `json:"saga_changes"`
// DisplayLines contains bounded unchanged context alongside changed atoms.
// It is renderer-only: coverage and persisted diff identity continue to use
// Atoms exclusively.
DisplayLines []DisplayLine `json:"-"`
}
func ReadWithOptions ¶
type DisplayLine ¶
type ReadOptions ¶
type ReadOptions struct {
AllowRepositoryMismatch bool
}
Click to show internal directories.
Click to hide internal directories.