Documentation
¶
Overview ¶
Package overrides applies the shared declarative override schema (internal/overrides) to the purego generator's metadata model (internal/codegen/frameworks/meta). The file format, discovery convention, and semantics are identical to internal/overrides; this package preserves the framework pipeline import path while using the canonical metadata model.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Apply ¶
func Apply(file *rootoverrides.File, framework *meta.FrameworkMeta) []string
Apply delegates to the shared implementation: the framework metadata types alias the canonical model, so both loaders must apply identical corrections.
func ApplyAdjacent ¶
func ApplyAdjacent(metaPath string, framework *meta.FrameworkMeta) ([]string, error)
ApplyAdjacent looks for an override file next to metaPath and applies it to framework. A missing file is not an error. Returned warnings list override entries that matched nothing — stale after an SDK re-scan.
Types ¶
This section is empty.