Determine which schema to use based on file path.
(path: Path)
| 66 | |
| 67 | |
| 68 | def get_schema_for_path(path: Path) -> str | None: |
| 69 | """Determine which schema to use based on file path.""" |
| 70 | parts = path.parts |
| 71 | for part in parts: |
| 72 | if part in SCHEMA_MAP: |
| 73 | return SCHEMA_MAP[part] |
| 74 | return None |
| 75 | |
| 76 | |
| 77 | def validate_md_file(md_file: Path, errors: list, warnings: list) -> bool: |
nothing calls this directly
no outgoing calls
no test coverage detected