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

Method rmrf

pyodide/pack_wheel.py:155–160  ·  view source on GitHub ↗
(path: Path)

Source from the content-addressed store, hash-verified

153
154 @staticmethod
155 def rmrf(path: Path) -> None:
156 if path.exists() or path.is_symlink():
157 if path.is_dir() and not path.is_symlink():
158 shutil.rmtree(path)
159 else:
160 path.unlink()
161
162
163def clean() -> None:

Callers 3

create_symlinkMethod · 0.80
cleanFunction · 0.80

Calls 1

unlinkMethod · 0.45

Tested by

no test coverage detected