MCPcopy Create free account
hub / github.com/SolaWing/xcode-build-server / update_check_time

Method update_check_time

server.py:286–292  ·  view source on GitHub ↗

return mtime if updated, else None

(path)

Source from the content-addressed store, hash-verified

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)

Callers

nothing calls this directly

Calls 2

get_mtimeFunction · 0.90
getMethod · 0.80

Tested by

no test coverage detected