MCPcopy Create free account
hub / github.com/pytorch/executorch / _keep_workspace

Function _keep_workspace

tools/cmake/common/__init__.py:26–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24# when debugging tests.
25@cache
26def _keep_workspace() -> bool:
27 keep_workspace_env = os.environ.get("KEEP_WORKSPACE")
28 if keep_workspace_env is None:
29 return False
30 return keep_workspace_env.lower() not in ("false", "0", "no", "n")
31
32
33# Create a file tree in the current working directory (cwd). The structure of the

Callers 2

tearDownMethod · 0.85
create_workspaceMethod · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected