Documentation
¶
Overview ¶
Package chunk provides domain types for chunk-level metadata.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LineRange ¶
type LineRange struct {
// contains filtered or unexported fields
}
LineRange records the 1-based start and end line of a chunk enrichment within its source file. Immutable value object.
func NewLineRange ¶
NewLineRange creates a LineRange for a new enrichment (not yet persisted).
func ReconstructLineRange ¶
ReconstructLineRange recreates a LineRange from persistence.
func (LineRange) EnrichmentID ¶
EnrichmentID returns the associated enrichment's ID.
type LineRangeStore ¶
type LineRangeStore interface {
repository.Store[LineRange]
}
LineRangeStore defines persistence for chunk line ranges.
Click to show internal directories.
Click to hide internal directories.