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