(path: str, b: str)
| 444 | if sys.platform == "linux" or sys.platform == "darwin": |
| 445 | |
| 446 | def os_path_join(path: str, b: str) -> str: |
| 447 | # Based off of os.path.join, but simplified to str-only, 2 args and mypyc can compile it. |
| 448 | if b.startswith("/") or not path: |
| 449 | return b |
| 450 | elif path.endswith("/"): |
| 451 | return path + b |
| 452 | else: |
| 453 | return path + "/" + b |
| 454 | |
| 455 | else: |
| 456 |
no test coverage detected
searching dependent graphs…