cache_ls: cache_ls

Description Usage Arguments Details Value See Also

View source: R/cache_ls.R

Description

List cached files

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
cache_ls(cache = cache_path(), ...)

cache_list(x)

## S3 method for class 'cache_list'
print(x, ...)

cache_dir(path = cache_path(), ...)

cache_info(cache = getOption("cache", "cache"), ...)

Arguments

cache

string; cache directory (Default: cache_path() )

...

additional arguments passed to fs::dir_ls()

Details

Similar to ls but lists the objects in the cache directory that can be loaded.

cache_list creates a cache_list object for which a print method can exist.

cache_dir() lists all files in the cache, supported or not.

Value

character vector (names of objects)

See Also


decisionpatterns/cache documentation built on June 15, 2020, 9:35 p.m.