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

Method _save_xml

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

Source from the content-addressed store, hash-verified

194 destination_zip.writestr(target, self._zip_file.read(target))
195
196 def _save_xml(self, destination_zip: ZipFileInterface, inner_file: str, xml_obj: Any) -> None:
197 destination_zip.writestr(inner_file, self._xml_handler.serialize(xml_obj))
198
199 def _save_documents(self, bcf_zip: ZipFileInterface) -> None:
200 if self.documents:

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