resolve_index_path#
- barecat.maintenance.merge.resolve_index_path(path)[source]#
Resolve the index database path for a barecat archive.
Supports both old format ({path}-sqlite-index) and new format ({path} directly). For new archives, uses the new format where the path IS the index file.
- Parameters:
path – The archive path as given by the user (str or Path).
- Returns:
The actual path to the SQLite index file.