Skip to main content

dangling_endpoints

Function dangling_endpoints 

Source
fn dangling_endpoints(doc: &Document, commit: &Commit) -> Result<(), FoldError>
Expand description

A route’s endpoints are the one reference the index cannot quietly drop: an orphaned route is still indexed and still drawn, whereas a child whose owner is gone leaves the index with its scope. So a pin may not leave under a route — the delete cascade emits the dependent route deletes itself, which is what keeps this refusal unreachable from the editor.