(target: str, expected_relative: str)
| 68 | |
| 69 | |
| 70 | def embed_target_matches(target: str, expected_relative: str) -> bool: |
| 71 | normalized = target.strip().strip("<>").split("|", 1)[0] |
| 72 | if normalized == expected_relative: |
| 73 | return True |
| 74 | return normalized.endswith(f"/{expected_relative}") |
| 75 | |
| 76 | |
| 77 | def note_references_image_embed(note_text: str, expected_relative: str) -> bool: |
no outgoing calls
no test coverage detected