MCPcopy Create free account
hub / github.com/buildbot/buildbot / statFile

Method statFile

worker/buildbot_worker/runprocess.py:137–141  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

135 self.f.close()
136
137 def statFile(self):
138 if os.path.exists(self.logfile):
139 s = os.stat(self.logfile)
140 return (s[stat.ST_CTIME], s[stat.ST_MTIME], s[stat.ST_SIZE])
141 return None
142
143 def poll(self):
144 if not self.started:

Callers 4

__init__Method · 0.95
pollMethod · 0.95
test_statFile_missingMethod · 0.95
test_statFile_existsMethod · 0.95

Calls 1

statMethod · 0.80

Tested by 2

test_statFile_missingMethod · 0.76
test_statFile_existsMethod · 0.76