pub fn record(dir: &Path, e: &Loaded, by: &str, via: &str)
Records that by trusted e as it is now, through via.
by
e
via