(work, name)
| 84 | |
| 85 | |
| 86 | def section_dirs(work, name): |
| 87 | cache = os.path.join(work, "cache-" + name) |
| 88 | os.makedirs(cache, exist_ok=True) |
| 89 | # Must exist before the binary runs: the endpoint validates the parent |
| 90 | # (exists, is a directory, not a reparse point) and never creates it. |
| 91 | os.makedirs(runtime_for(cache), exist_ok=True) |
| 92 | return cache |
| 93 | |
| 94 | |
| 95 | def cli_env(cache): |
no test coverage detected