pub fn database_files(store_path: impl AsRef<Path>) -> Vec<PathBuf>
Expand description
List of repository database files. Includes the main db file and any auxiliary files.
The aux files don’t always exists but when they do and one wants to rename, move or delete the repository, they should rename/move/delete these files as well.
Note ideally the aux files should be deleted automatically when the repo has been closed. But because of a bug in sqlx, they are sometimes not and need to be handled (move,deleted) manually. When the bug is fixed, this function can be removed.