Fluxion::Registry::Store
Reads a synced mirror and installs configurations out of it.
Constants
A profile is a hand-written file. Anything larger is either a mistake or an attempt to exhaust memory before parsing starts.
Constructors
Instance methods
How an installed copy compares to the registry.
The record of what was installed is kept beside the file, so a local edit
is distinguishable from an upstream change. Without it the two look
identical — the bytes differ — and sync could not tell the user which
of their changes it was about to discard.
Installs an entry, validating it first.
A registry describes what to install on a machine, so a profile that
cannot even be parsed is refused here rather than at the first apply.
Nothing is ever applied as a side effect of installing.
The manifest, raising if it is unusable. For commands that cannot proceed without it.
Where an entry's profile sits inside the mirror.
Re-checks confinement against the resolved path rather than trusting the manifest's own validation: a symlink inside the repository could otherwise point anywhere, and the manifest cannot see that.