refactor: Rename get_engine to get_compression_engine and update references

This commit is contained in:
Andrew Phillips (aider)
2025-05-13 08:46:41 -03:00
parent 0be716eac0
commit 9330fc1db9
5 changed files with 5 additions and 5 deletions

View File

@@ -47,7 +47,7 @@ pub fn mode_update(
if item_file_metadata.is_ok() {
debug!("MAIN: Updating stream size of {:?}", item_path);
let compression_type = CompressionType::from_str(&item.compression)?;
let compression_engine = crate::compression_engine::get_engine(compression_type)
let compression_engine = crate::compression_engine::get_compression_engine(compression_type)
.expect("Unable to get compression engine");
let size = compression_engine.size(item_path)? as i64;
item.size = Some(size);