diff --git a/src/storage/file.rs b/src/storage/file.rs index aca195c4..10a4e218 100644 --- a/src/storage/file.rs +++ b/src/storage/file.rs @@ -285,10 +285,6 @@ impl<'a> File<'a> { self.owning_module } - pub fn matches_with(&self, r: &Regex) -> bool { - r.is_match(&self.data[..]) || self.header.matches_with(r) - } - fn get_new_file_id() -> FileID { use uuid::Uuid; Uuid::new_v4().to_hyphenated_string()