fix: add missing #[allow(dead_code)] attribute to clear_cache method
This commit is contained in:
@@ -147,6 +147,7 @@ impl ModelDownloader {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Clear the download cache
|
/// Clear the download cache
|
||||||
|
#[allow(dead_code)]
|
||||||
pub fn clear_cache(&self) -> Result<(), std::io::Error> {
|
pub fn clear_cache(&self) -> Result<(), std::io::Error> {
|
||||||
let mut cache = self.cache.lock().unwrap();
|
let mut cache = self.cache.lock().unwrap();
|
||||||
cache.clear();
|
cache.clear();
|
||||||
|
|||||||
Reference in New Issue
Block a user