Documentation
¶
Overview ¶
Package changeinputs builds the bounded, source-derived ownership inputs attached to one exact pull-request base/head observation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Hydrate ¶
func Hydrate( ctx context.Context, rest *gh.RESTClient, writer *store.EntityWriter, class budget.Class, repositoryID int64, repositoryOwner string, repositoryName string, number int, node *gh.PullRequestNode, ) (*store.PullRequestChangeSnapshotRecord, error)
Hydrate reads changed-file rename supplements and the effective CODEOWNERS source at the observed base SHA. GraphQL supplies the authoritative file paths and connection completeness; REST is used only for facts GraphQL does not expose and for a final base/head fence check.
func Semantic ¶
func Semantic(snapshot *store.PullRequestChangeSnapshotRecord) map[string]any
Semantic returns the null-safe, source-derived value embedded in drift snapshots. Source content itself is deliberately represented by its hash; consumers read the mirrored source from the public snapshot table.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.