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

Method _save_extensions

src/bcf/bcf/v3/bcfxml.py:187–188  ·  view source on GitHub ↗
(self, destination_zip: ZipFileInterface)

Source from the content-addressed store, hash-verified

185 self._save_xml(destination_zip, "bcf.version", self.version)
186
187 def _save_extensions(self, destination_zip: ZipFileInterface) -> None:
188 self._smart_save_xml(destination_zip, self._extensions, "extensions.xml")
189
190 def _smart_save_xml(self, destination_zip: ZipFileInterface, item: Any, target: str) -> None:
191 if item:

Callers 1

saveMethod · 0.95

Calls 1

_smart_save_xmlMethod · 0.95

Tested by

no test coverage detected