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

Function unloadIfc

src/ifctester/webapp/src/modules/wasm/worker/api.ts:101–106  ·  view source on GitHub ↗
(ifcId: string)

Source from the content-addressed store, hash-verified

99}
100
101export async function unloadIfc(ifcId: string) {
102 const path = `/tmp/${encodeURIComponent(ifcId)}.ifc`;
103
104 pyodide.FS.unlink(path);
105 LoadedIFC.delete(ifcId);
106}
107
108export async function auditIfc(ifcId: string, idsData: number[] | Uint8Array | ArrayBuffer) {
109 const reporter = pyodide.pyimport("ifctester.reporter");

Callers

nothing calls this directly

Calls 2

deleteMethod · 0.80
unlinkMethod · 0.45

Tested by

no test coverage detected