Skip to main content

remove_attachment

Function remove_attachment 

Source
pub fn remove_attachment(
    store: &Store,
    ticket_id: &str,
    path: &str,
    actor: &str,
    now: DateTime<Utc>,
) -> Result<()>
Expand description

Detach a file from a ticket by its path. The underlying file is left in place (it may be shared or tracked in the repo).