return mtime if updated, else None
(path)
| 284 | from xcactivitylog import metapath_from_buildroot, newest_logpath |
| 285 | |
| 286 | def update_check_time(path): |
| 287 | """return mtime if updated, else None""" |
| 288 | mtime = get_mtime(path) |
| 289 | if mtime > self.observed_info.get(path, 0): |
| 290 | self.observed_info[path] = mtime |
| 291 | return mtime |
| 292 | return None |
| 293 | |
| 294 | compile_file_mtime = self.observed_info[self._compile_file] |
| 295 | xcactivitylog_index = metapath_from_buildroot(build_root) |