Builds an ext_cache object: a list of closures bound to a cache directory,
implementing CRUD over cached .duckdb_extension files. Files are laid out
under <cache_path>/<version>/<platform>/<name>.duckdb_extension.
Usage
ext_cache(cache_path = ext_cache_path())Arguments
- cache_path
Character scalar. Cache root directory. Defaults to
ext_cache_path().
Value
An ext_cache object (a list of closures) with elements:
.path: the cache root.get(name, version, platform): path to the cached extension, orNULL.add(name, version, platform, src): copiessrcinto the cache.list(): data frame of cached extensions.del(name, version, platform): removes a cached extension. Whenversionandplatformare omitted, removes all cached entries forname.