(value: str)
| 23 | |
| 24 | |
| 25 | def safe_path_component(value: str) -> str: |
| 26 | if "/" in value or "\0" in value: |
| 27 | raise ValueError(f"Unexpected path separator in component: {value!r}") |
| 28 | return value |
| 29 | |
| 30 | |
| 31 | def verify_sparkle_signature(data: bytes, signature: str) -> None: |
no outgoing calls
no test coverage detected