From 98ec735ea3f412327e517d66549235e2b434852e Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 28 Nov 2015 12:47:30 +0100 Subject: [PATCH] Add File::owner() - a getter for the owner of a file --- src/storage/file.rs | 4 ---- 1 file changed, 4 deletions(-) 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()