Skip to main content

SPEND_FILE

Constant SPEND_FILE 

Source
pub const SPEND_FILE: &str = "spend.log";
Expand description

THE spend ledger, in the key dir (never swept, so stats still sums what was spent once the pages are gone): one JSON line [unix s, [cost, unverified], "<dir>"] per stored fetch or search record that cost or may have, and per dead run’s calls in flight once its run/ is swept; dir = the record’s path (<root>/default/u3). No URL, no query. A row it cannot write is never a failed fetch: stats probes the file and says why.