Skip to main content

EMPTY_BRIEF

Constant EMPTY_BRIEF 

Source
pub const EMPTY_BRIEF: &str = "mushroomdb brief — empty store; run: mushroomdb ingest-git <db> <repo>\n";
Expand description

The one line a store with nothing in it at all gets as a session opens: what is missing, and the command that fixes it. The same answer EMPTY_MAP gives, for the same reason — there is nothing to be central in, and no point naming a way to reach an empty graph.

Not marked with UNTRUSTED_FRAMING, unlike every brief with a graph behind it: not one byte of this line came out of a store, so there is nothing here to mark as data.