cache_purge_expired: Remove cache data older than ttl seconds

Description Usage Arguments Value

View source: R/cache.R

Description

Remove cache data older than ttl seconds

Usage

1
2
cache_purge_expired(ttl = 2592000, data_path = "data/cache",
  archive_path = NULL, remove_empty = TRUE)

Arguments

ttl

ttl in seconds

data_path

Where to look for expired cache entries

archive_path

A path where to copy expired cache files (for archiving)

remove_empty

Whether to remove empty directories at the end

Value

invisible(NULL)


henfiber/later documentation built on May 20, 2019, 6:46 p.m.