refactor: Remove is_supported from LZ4 engine
This commit is contained in:
committed by
Andrew Phillips (aider)
parent
192b9e2f57
commit
8d7a1c2eb8
@@ -18,10 +18,6 @@ impl CompressionEngineLZ4 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl CompressionEngine for CompressionEngineLZ4 {
|
impl CompressionEngine for CompressionEngineLZ4 {
|
||||||
fn is_supported(&self) -> bool {
|
|
||||||
true
|
|
||||||
}
|
|
||||||
|
|
||||||
fn open(&self, file_path: PathBuf) -> Result<Box<dyn Read>> {
|
fn open(&self, file_path: PathBuf) -> Result<Box<dyn Read>> {
|
||||||
debug!("COMPRESSION: Opening {:?} using {:?}", file_path, *self);
|
debug!("COMPRESSION: Opening {:?} using {:?}", file_path, *self);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user