Delete cache files that are no longer in use
delete_old_file(
target_dir = "in",
gls,
cache_ids = NULL,
verbose = FALSE,
delete = NULL
)
character: directory where the cache files are stored. If
could be a patch, like gls$OUT_SVY_DIR_PC
from
list: List of globals.
character:vector with Cache_ids. default from
db_create_pipeline_inventory()
pipload::add_gls_to_env()
or it could be one of the two shortcuts, "in"
or "out". The former refers to gls$CACHE_SVY_DIR_PC
. the latter refers to
gls$OUT_SVY_DIR_PC
.
logical: whether to display messages
logical or NULL. If Null, menu with choices will be displayed (default). If false, no file will be deleleted. If TRUE, all old files not available in cache_id will be deleted