(schema_name: str)
| 47 | |
| 48 | |
| 49 | def load_schema(schema_name: str) -> dict: |
| 50 | schema_file = SCHEMAS_DIR / schema_name |
| 51 | if not schema_file.exists(): |
| 52 | return {} |
| 53 | with open(schema_file, "r", encoding="utf-8") as f: |
| 54 | return json.load(f) |
| 55 | |
| 56 | |
| 57 | def extract_front_matter(md_content: str) -> dict | None: |
nothing calls this directly
no outgoing calls
no test coverage detected