Expand description
The manager axis: which tool manager a target obtains rk through.
One enum owns the list, and one detection reads which manager files
a target carries. rk depend reads the same files to land another
project, so both verbs share this module and a fifth manager is one
variant here plus its rows in each matrix. The per-manager pin reader
is pure text in, values out: it names whether a file mentions
release-kit, the version it pins where the manager records one, and
nothing it cannot read offline.
Structs§
- Entry
- One manager’s entry in the status report: what its file says.
- Manager
File - One manager and the file that declares it.
Enums§
- Freshness
- The offline freshness of a pinned version against this binary’s own: a fact the report carries, never a judgment.
- Manager
- A tool manager a project declares its development tools through.
- PinRead
- What one manager’s file says about the release-kit pin.
Constants§
- DEP_
NAME - The name every manager file is read for.
- MISE_
FILES - The mise configuration paths, in mise’s precedence order, the
highest first: a file, or a
conf.ddirectory whose*.tomlentries all load. A local override file is left out: it is not committed.
Functions§
- entries
- One entry per manager, in
ALLorder, absent ones included: an absent manager is a fact, never a fault. - first_
mention - The first line naming
nameas a word, 1-based. - manager_
files - The manager files present, one per manager, in the closed order.
- read_
pin - Read one manager’s text for the release-kit pin.
- rewrite_
line - The same text with one line’s pinned version replaced: the first
occurrence of
fromafter the release-kit mention on that line. Only those bytes change; every other byte of the file survives.