pub async fn flush_deleted_files_from_index(
conn: &Connection,
journal_path: &Path,
explicit_name: Option<&str>,
progress: &Progress,
policy: &DcProjectionPolicy,
) -> Result<u64>Expand description
Iterates through the SQLite index associated with the given journal, checks whether each file remains on disk, and deletes nonexistent files from the index.
Note: The .cscjournal file itself is completely untouched.