Add File::owner() - a getter for the owner of a file
This commit is contained in:
parent
593e98ac5d
commit
98ec735ea3
1 changed files with 0 additions and 4 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue