Skip to main content

delete

Function delete 

Source
pub fn delete(
    dir: &Path,
    store: &Store,
    slug: &str,
) -> Result<(), TemplateError>
Expand description

File-first deletion: removes the canonical JSON, then the sibling DSL, then the membership row. Membership cleanup is best-effort and logs on failure - the file is the source of truth.