Function init
pub fn init(doc: &mut AutoCommit, id: &RecordId, kind: &RecordKind, home: &str)Expand description
Stamp a document with the identity of the record it holds. Idempotent: re-opening leaves an existing stamp alone, so a restart doesn’t author a change graph entry that says nothing new.