Function lock_file_batch

Source
pub fn lock_file_batch<'a>(
    client: &'a impl UserAuthClient,
    arg: &'a LockFileBatchArg,
) -> impl Future<Output = Result<LockFileBatchResult, Error<LockFileError>>> + Send + 'a
Available on crate features async_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.