untrash_file: move a file out of the trash

Description Usage Arguments Value

View source: R/files.R

Description

moves a file in Google Drive's "trash" folder, which is automatically emptied after a set number of days, out and back into the user's Drive.

Usage

1
untrash_file(file_id, ...)

Arguments

file_id

the ID of a file - or the full URL for accessing it via your browser. See file_metadata for further discussion.

...

further arguments to pass to httr's POST.

Value

TRUE if the file was successfully untrashed, an error otherwise.


noamross/driver documentation built on May 23, 2019, 9:30 p.m.