(node: dict[str, Any])
| 103 | |
| 104 | |
| 105 | def _is_file_node(node: dict[str, Any]) -> bool: |
| 106 | label = str(node.get("label", "")) |
| 107 | source_file = str(node.get("source_file", "")) |
| 108 | return bool(source_file) and label == os.path.basename(source_file) |
| 109 | |
| 110 | |
| 111 | def _posix(path: str) -> str: |
no test coverage detected