faasr_delete_file: faasr_delete_file

View source: R/faasr_delete_file.R

faasr_delete_fileR Documentation

faasr_delete_file

Description

Helper function to delete a file in an S3 bucket

Arguments

server_name

string with name of the S3 bucket to use; must match a name declared in the faasr list

remote_folder

string with the name of the remote folder where the file is to be deleted from

remote_file

string with the name for the file to be deleted

Value

return nothing / delete the file in the bucket

Examples

# This function can be run only in the container
if (interactive()){
faasr_delete_file(remote_file="test.txt")
}

FaaSr documentation built on June 22, 2024, 9:38 a.m.