delete_file: delete_file: Rename a File/Directory on a FileSystem

Description Usage Arguments Value

View source: R/delete_file.R

Description

Rename a File/Directory on a FileSystem

Usage

1
2
3
4
5
6
7
8
9
delete_file(fs, path, recursive, trash, ...)

## Default S3 method:
delete_file(fs, path, recursive = FALSE,
  trash = FALSE, ...)

## S3 method for class 'webhdfs'
delete_file(fs, path, recursive = FALSE,
  trash = FALSE, ...)

Arguments

fs

FileSystem object

path

a character vector that contains the path renaming from

recursive

whether to delete contents of directory recursively

trash

whether to move path to Trash rather than delete

...

other arguments

Value

TRUE if successful, FALSE otherwise


saurfang/rwebhdfs documentation built on May 29, 2019, 3:20 p.m.