Skip to main content

edit

Function edit 

Source
pub async fn edit(
    client: &DriveClient,
    opts: &EditOptions,
    rules: &[FolderPermissionRule],
) -> EditOutcome
Expand description

Replaces opts.file_id’s content with opts.content, gated by rules.

Every real (non-dry-run) attempt is logged; a --dry-run preview never is, matching create/upload/move’s existing precedent.