aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.lock
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-12-04 18:09:38 +0000
committertv <tv@krebsco.de>2026-12-04 18:59:12 +0000
commit5c6c878ae8c7ce8b04f4b540a04cbed7a4b37f38 (patch)
tree89ea2ea643809dca4242110df99f8d3973aaeadd /Cargo.lock
parent9f64a8d003bd301a6499bf7a6f60e6cf0b533162 (diff)
config: an importer says what tells that its value is absentHEADmaster
A value that is gone is not a failure: a key taken out of a secret store is one thing, a wrong passphrase another. An importer says in its table what tells the first: absent.status = N of a command, that exit status of a normal exit; absent.missing = true of a file; absent.unset = true of an environment variable. Nothing is built in, as tools disagree, and nothing is absent unless the importer says so. Any status may be said but 0, which says that there is a value: which one nothing else gives is the writer's to know, and the documentation tells what gives which. A script says its status with exit, and the shell exits with exactly that; where a shell exits by itself (a line it can't read, an expansion that fails), POSIX leaves the status open within 1 to 125, and bash, dash and BusyBox ash use 1 and 2; 126, 127 and those above 128 are a command that can't be run, one that isn't found, and one a signal killed. So a script says absent with a status from 3 to 125. fetch and its kin give the typed error import::Absent then, with the importer as written and what told, and Importer::found_in tells it from a value. Only the importer asked is absent: one inside another that is makes that one fail. continuum takes an option's absent value for a failure.
Diffstat (limited to 'Cargo.lock')
0 files changed, 0 insertions, 0 deletions