Skip to main content

Module source

Module source 

Source
Expand description

Where a value came from.

Provenance is not an extra pass here: it is the output of the only merge there is. hk grew a second parallel merge function purely to answer “where did this come from”, and the two could disagree — so hk config explain could describe a resolution that never happened. Recording the origin as the value is chosen makes that class of bug unreachable.

Structs§

Origin
The exact place a value came from.
SourceKind
A kind of place a value can come from.

Enums§

FileScope
Which class of file a value came from, when it came from one.
Trust
How much a place is trusted, which is what a setting’s scope is about.