delete_stash: Delete a stashed file

Description Usage Arguments Value

Description

Delete a stashed file

Usage

1
delete_stash(from, no.prompt = FALSE, clean.up = TRUE, simplify = TRUE)

Arguments

from

Path for where the object resides. Accepts a character string or *_stash object.

no.prompt

TRUE or FALSE. When FALSE, you will be promted to confirm deletion of matching files. When TRUE, you will not be prompted. Defaults to FALSE.

clean.up

TRUE or FALSE. When TRUE, the directory that the file resided in will be deleted if it is empty.

file.name

Base file name for the object

time.stamp

TRUE or FALSE. When TRUE, files containing a time stamp generated by save_stash, or matching the save_stash pattern, will be deleted.

uuid

TRUE or FALSE. When TRUE, files containing a uuid generated by save_stash, or matching the save_stash pattern, will be deleted.

extension

Extension for the file to delete.

compression

Accepts NULL for no compression, or 'gz' for gzip.

checksum

Not being used right now.

Value

List of stash objects that were successfully deleted.


jason-huling/rstash documentation built on May 18, 2019, 4:53 p.m.