Lines Matching refs:last_modified
202 let mut last_modified = last_modified_time(&self.entity.file_path(), build_time)?;
203 last_modified = core::cmp::max(
204 last_modified,
209 && (self.entity.task().build_once || last_modified < *build_time)
266 let last_modified = last_modified_time(&self.build_dir.path, install_time)?;
267 let last_modified = core::cmp::max(
268 last_modified,
273 && (self.entity.task().install_once || last_modified < *install_time)
712 /// * `last_modified` - 最后的更新时间
721 let mut last_modified = DateTime::<Utc>::from(SystemTime::UNIX_EPOCH);
740 last_modified = std::cmp::max(last_modified, file_modified);
743 if last_modified > *build_time {
744 return Ok(last_modified);
756 last_modified = std::cmp::max(last_modified, file_modified);
759 if last_modified > *build_time {
760 return Ok(last_modified);
765 if last_modified == DateTime::<Utc>::from(SystemTime::UNIX_EPOCH) {
771 Ok(last_modified)