Skip to main content

validate_supplied_entry_ref

Function validate_supplied_entry_ref 

Source
pub fn validate_supplied_entry_ref(
    about: &str,
    path: &str,
    entry_ref: &str,
) -> Result<(), String>
Expand description

Entry ids are strict descendants of the about they mutate. The about anchor itself is deliberately excluded: ingesting an entry must never change the root node’s kind or payload.