function History.get
The record of the run with task ID
id (or whose entry’s folder is named id), as list gives it; None when it is not kept.
function History.link
Add a link to this run’s record: a results page, say, which a history list then shows. A link already there is not added twice.
function History.list
The records of past runs, newest first: at most
limit of them, only those of task kind, those that ended outcome (ok, failed, error, cancelled, running, abandoned), and those run on git branch, when given. Each is a dict, as task.json has it, its command line redacted, with dir (the entry’s folder), outcome, and each build’s build_events (its kept stream, for bazel.build_events.read) where its folder has one. This run’s own record is among them, running.
function History.root
The folder the history is kept in.

