[cache (rust)] Add Mapping::is_dirty()
This commit is contained in:
parent
74fcb9d505
commit
fde0e0e2b8
4
src/cache/mapping.rs
vendored
4
src/cache/mapping.rs
vendored
@ -24,6 +24,10 @@ impl Mapping {
|
||||
pub fn is_valid(&self) -> bool {
|
||||
return (self.flags & MappingFlags::Valid as u32) != 0;
|
||||
}
|
||||
|
||||
pub fn is_dirty(&self) -> bool {
|
||||
return (self.flags & MappingFlags::Dirty as u32) != 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user