Update the oldest modification time if this is older. # Arguments `time` - The file modification time
(&mut self, time: SystemTime)
| 390 | /// |
| 391 | /// * `time` - The file modification time |
| 392 | pub fn update_oldest_change(&mut self, time: SystemTime) { |
| 393 | if self.oldest_change == SystemTime::UNIX_EPOCH |
| 394 | || (time > SystemTime::UNIX_EPOCH && time < self.oldest_change) |
| 395 | { |
| 396 | self.oldest_change = time; |
| 397 | } |
| 398 | } |
| 399 | |
| 400 | /// Get the oldest modification time. |
| 401 | pub fn oldest_change(&self) -> SystemTime { |
no outgoing calls