Documentation
¶
Overview ¶
Package flakereg explains Nix flake.lock changes from what the lockfile already records — fully offline, zero requests:
- ages and the ⏱ fresh flag come from the pinned revision's own commit timestamp (flake.lock's lastModified, which the parser embeds in the "<date>.<shortrev>" version it synthesizes);
- rev...rev compare links come from the locked repository attrs (github/gitlab/git URLs), written verbatim — commit revisions address themselves, so no tag verification is needed.
The narHash integrity check (same revision, different tree = REPINNED) and the re-pointed-repository surface live in the generic pins machinery (internal/diffx); this layer only adds what needs the version string decoded.
Because everything is local, it runs even with -offline/-no-meta, in the browser build, and never produces warnings.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Now = time.Now
Now is stubbed in tests.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.