Skip to main content

delete

Function delete 

Source
pub async fn delete(
    type_dir: &Path,
    id: &str,
    force: bool,
) -> Result<(), StoreError>
Expand description

Delete an item (hard delete).

If the item is not yet soft-deleted and force is false, this performs a soft delete instead. If the item is already soft-deleted (or force is true), this removes the file permanently.