Add method to read db file
repo_management/files.py: Add `_read_db_file()` to open a db file and return it as tarfile.Tarfile. The method assumes gzip-compressed databases by default, but can be used with other compression algorithms. tests/test_file.py: Add fixtures and tests for `_read_db_file()`.
repo_management/files.py
0 → 100644
tests/test_file.py
0 → 100644
Please register or sign in to comment