Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion R/drive_upload.R
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
#' # Clean up
#' drive_rm(chicken)
#'
#' # `overwrite = FALSE` errors if something already exists at target filepath
#' # `overwrite = FALSE` errors if something already exists at target filepath.
#' # THIS WILL ERROR!
#' drive_create("name-squatter-upload")
#' drive_example_local("chicken.jpg") |>
Expand All @@ -70,6 +70,7 @@
#' )
#'
#' # `overwrite = TRUE` moves the existing item to trash, then proceeds
#' #Use `drive_update()` or `drive_put()` if you want to permissions and file is from an already existing file.
#' chicken <- drive_example_local("chicken.jpg") |>
#' drive_upload(
#' name = "name-squatter-upload",
Expand Down
3 changes: 2 additions & 1 deletion man-roxygen/overwrite.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
#' zero or one, move a pre-existing file to the trash, then carry on. Note
#' that the new file does not inherit any properties from the old one, such
#' as sharing or publishing settings. It will have a new file ID. An error is
#' thrown if two or more pre-existing files are found.
#' thrown if two or more pre-existing files are found. Use `drive_update()` or
#' `drive_put()` if you want to keep permissions and sharing from an already existing file.
#' * `FALSE`: Error if there is any pre-existing file at the filepath.
#'
#' Note that existence checks, based on filepath, are expensive operations, i.e.
Expand Down
3 changes: 2 additions & 1 deletion man/drive_cp.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/drive_create.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/drive_mkdir.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/drive_mv.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/drive_rename.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions man/drive_upload.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/shortcut_create.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading