Function resolve
pub fn resolve(
doc: &AutoCommit,
version: &str,
) -> Result<Vec<ChangeHash>, String>Expand description
The heads version names: a checkpoint’s name, or a change id from
history (at least six hex digits of it) — the document as of that change.
§Errors
Names what a version can be, and the checkpoints there are.