neptune_delete_files: Delete the file or files specified by paths from the FileSet...

View source: R/neptune_delete_files.R

neptune_delete_filesR Documentation

Delete the file or files specified by paths from the FileSet stored on the Neptune servers.

Description

Delete the file or files specified by paths from the FileSet stored on the Neptune servers.

Usage

  neptune_delete_files(x, paths, wait=FALSE)

Arguments

x

Field

paths

character or vector of characters - Path or paths to files or folders to be deleted. Note that these are paths relative to the FileSet itself e.g. if the FileSet contains file example.txt, varia/notes.txt, varia/data.csv to delete whole subfolder you would pass varia as the argument.

wait

logical - If TRUE the client will wait to send all tracked metadata to the server before making the assignment. This makes the call synchronous.

Value

None

Author(s)

Authors:

See Also

Useful links:

Examples

  ## Not run: 
    run <- neptune_init(api_token = 'ANONYMOUS',
                        project = "common-r/quickstarts")
    neptune_delete_files(run['artifacts/images'], "path/to/file")
  
## End(Not run)

neptune documentation built on April 13, 2022, 5:14 p.m.