MCPcopy Create free account
hub / github.com/XLearning-SCU/2022-CVPR-DART / flush

Method flush

utils.py:154–158  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

152 self.file.write(msg)
153
154 def flush(self):
155 self.console.flush()
156 if self.file is not None:
157 self.file.flush()
158 os.fsync(self.file.fileno())
159
160 def close(self):
161 self.console.close()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected