(
name: str, relative_to: str | Path | None = SOURCE_DIR
)
| 36 | |
| 37 | |
| 38 | def get_normalized_example_name( |
| 39 | name: str, relative_to: str | Path | None = SOURCE_DIR |
| 40 | ) -> str: |
| 41 | return "/".join( |
| 42 | _get_root_example_path_by_name(name, relative_to).relative_to(SOURCE_DIR).parts |
| 43 | ) |
| 44 | |
| 45 | |
| 46 | def get_main_example_file_by_name( |
no test coverage detected