Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
244
class
Json(Reporter):
Callers
1
__main__.py
File · 0.45
Calls
2
open
Function · 0.70
write
Method · 0.45
Tested by
no test coverage detected