Gets location of cache file
rb_get_cache_file.Rd
Gets location of cache file
Usage
rb_get_cache_file(
filename = "rbackupr_cache.sqlite",
cache_folder = rbackupr::rb_get_cache_folder()
)
Arguments
- filename
Defaults to "rbackupr_cache.sqlite".
- cache_folder
Defaults to folder set with `rb_set_cache_folder()`
Examples
rb_set_cache_folder(path = tempdir())
#> cache_folder
#> "/tmp/RtmpRpF8Cy"
sqlite_cache_file_location <- rb_get_cache_file() # outputs location of cache file
sqlite_cache_file_location
#> /tmp/RtmpRpF8Cy/rbackupr_cache.sqlite