Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IfcOpenShell/IfcOpenShell
/ restore_env
Function
restore_env
win/build-all-win.py:53–57 ·
view source on GitHub ↗
(var_name: str, old_value: str | None)
Source
from the content-addressed store, hash-verified
51
52
53
def
restore_env(var_name: str, old_value: str | None) -> None:
54
if
old_value is None:
55
del os.environ[var_name]
56
else
:
57
os.environ[var_name] = old_value
58
59
60
def
build() -> None:
Callers
1
build
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected