Function init_scoped
pub fn init_scoped(
doc: &mut AutoCommit,
id: &RecordId,
kind: &RecordKind,
home: &str,
workspace: Option<&str>,
) -> boolExpand description
Bind a record document to workspace, never rewriting an existing identity or workspace: a
document stamped for another workspace would turn a matching record id into an alias across
workspaces. A document naming none may be adopted once, after its identity is checked.