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

Method _save_xml

src/bcf/bcf/v2/bcfxml.py:224–225  ·  view source on GitHub ↗
(self, destination_zip: ZipFileInterface, inner_file: str, xml_obj: Any)

Source from the content-addressed store, hash-verified

222 destination_zip.writestr(target, self._zip_file.read(target))
223
224 def _save_xml(self, destination_zip: ZipFileInterface, inner_file: str, xml_obj: Any) -> None:
225 destination_zip.writestr(inner_file, self._xml_handler.serialize(xml_obj))
226
227 def _save_topics(self, destination_zip: ZipFileInterface) -> None:
228 for topic_handler in self.topics.values():

Callers 2

_save_versionMethod · 0.95
_smart_save_xmlMethod · 0.95

Calls 2

writestrMethod · 0.45
serializeMethod · 0.45

Tested by

no test coverage detected