MCPcopy Index your code
hub / github.com/rawpython/remi / shouldUpdate

Method shouldUpdate

editor/editor.py:334–338  ·  view source on GitHub ↗
(self, filePathName)

Source from the content-addressed store, hash-verified

332 self.attr_editor_newclass = True
333
334 def shouldUpdate(self, filePathName):
335 #returns True if project file changed externally
336 if os.stat(filePathName).st_mtime > self.lastUpdateTime:
337 return True
338 return False
339
340 def load(self, ifile, configuration):
341 self.lastUpdateTime = os.stat(ifile).st_mtime

Callers 1

idleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected