(path: str)
| 381 | |
| 382 | |
| 383 | def encode_markdown_link(path: str) -> str: |
| 384 | from urllib.parse import quote |
| 385 | |
| 386 | return "/".join(quote(part) for part in path.split("/")) |
| 387 | |
| 388 | |
| 389 | if __name__ == "__main__": |
no outgoing calls
no test coverage detected