Skip to contents

Delete all files and database records for the index pages of the current website

Usage

cas_reset_download_index(
  batch = NULL,
  file_format = "html",
  db_connection = NULL,
  db_folder = NULL,
  ask = TRUE,
  ...
)

Arguments

batch

Defaults to NULL. If given, only files and records related to the given batch are removed. If not given, all index files are removed.

db_connection

Defaults to NULL. If NULL, uses local SQLite database. If given, must be a connection object or a list with relevant connection settings (see example).

ask

Logical, defaults to TRUE. If set to FALSE, the relevant table will be deleted without asking for confirmation from the user.

...

Passed to cas_get_db_file().