MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / to_file

Method to_file

src/ifctester/ifctester/reporter.py:239–241  ·  view source on GitHub ↗
(self, filepath: str)

Source from the content-addressed store, hash-verified

237 print(self.text)
238
239 def to_file(self, filepath: str) -> None:
240 with open(filepath, "w", encoding="utf-8") as outfile:
241 return outfile.write(self.text)
242
243
244class Json(Reporter):

Callers 1

__main__.pyFile · 0.45

Calls 2

openFunction · 0.70
writeMethod · 0.45

Tested by

no test coverage detected