livery.toolroom.store._doctor¶
livery.toolroom.store._doctor ¶
The store's doctor: every view the store made is whole, or mended from its tree.
Registered under footman's footman.doctors entry-point group and
loaded by fm doctor alone, so this module imports nothing of
footman: a finding is the four-attribute shape footman reads by name,
what, found, fix and repair. The doctor opens the store
under the runner's data directory and asks it for its damaged views
(livery.toolroom.store.Store.audit_views); each is a finding naming
the tool, the version and the paths, with
livery.toolroom.store.Store.mend_view as its repair, which views the
tree the store already holds again. No lock, no catalogue, no network.
Classes:
| Name | Description |
|---|---|
Finding |
What footman's doctor reads: the check, what is wrong, the fix, the repair. |
Functions:
| Name | Description |
|---|---|
doctor |
Audit every view under the store's home; the findings. |
Finding
dataclass
¶
doctor ¶
Audit every view under the store's home; the findings.
Without a store under the runner's data directory there is nothing to audit and the one finding says so. A damaged view is a finding with the mend as its repair; whole views are one healthy line.