Skip to main content

ensure_stub

Function ensure_stub 

Source
fn ensure_stub(
    mstore: &Store,
    def_id: &str,
    name: &str,
    now: i64,
    path: &str,
) -> (Option<String>, bool)
Expand description

The instance stub for a definition, as (stub id, newly created). A failure is logged and treated as “no stub”: the definition is already committed, so it is never fatal.