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 — only the mutated types differ, because the purecg tree mirrors codegen with its own meta package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Apply ¶
func Apply(file *rootoverrides.File, framework *meta.FrameworkMeta) []string
Apply mutates framework according to file and returns a warning for every override entry that matched no declaration.
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.