(path)
| 229 | |
| 230 | |
| 231 | def _filesystem_uri(path): |
| 232 | # URIs on Windows must follow 'file:///C:...' or 'file:/C:...' patterns. |
| 233 | if os.name == 'nt': |
| 234 | uri = f'file:///{path}' |
| 235 | else: |
| 236 | uri = f'file://{path}' |
| 237 | return uri |
| 238 | |
| 239 | |
| 240 | class FSProtocolClass: |
no outgoing calls