overrides

package
v0.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2026 License: MIT Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL