Skip to main content

enforce_unlocked

Function enforce_unlocked 

Source
pub async fn enforce_unlocked(
    lock_system: &dyn DavLockSystem,
    path: &DavPath,
    deep: bool,
    prefix: &str,
    if_header: Option<&IfHeader>,
    request_scheme: &str,
    request_host: &str,
) -> Result<(), DavResponse>
Expand description

Rejects an operation when a conflicting lock token was not submitted for its lock root.