Updates the lapse policy metadata for cached files associated with a given path. The lapse policy determines when cached results should expire.
Usage
sourcoise_lapse(path, lapse = "never", root = getOption("sourcoise.root"))Arguments
- path
Character string specifying the file path whose cache metadata should be updated.
- lapse
Character string specifying the lapse policy. Default is "never". Common values include "never", "daily", "weekly", or custom time periods.
- root
Character string specifying the root directory for the cache. Defaults to
getOption("sourcoise.root").
Value
Invisibly returns the results of writing metadata for each updated cache entry. Returns a message string if no files are found or no changes are needed.
