Add File::owner() - a getter for the owner of a file

This commit is contained in:
Matthias Beyer 2015-11-28 12:47:30 +01:00
parent 593e98ac5d
commit 98ec735ea3

View file

@ -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()