Function lock_file_batch

Source
pub fn lock_file_batch(
    client: &impl UserAuthClient,
    arg: &LockFileBatchArg,
) -> Result<LockFileBatchResult, Error<LockFileError>>
Available on crate features sync_routes and dbx_files only.
Expand description

Lock the files at the given paths. A locked file will be writable only by the lock holder. A successful response indicates that the file has been locked. Returns a list of the locked file paths and their metadata after this operation.