URIs¶
- pygls.uris.to_fs_path(uri)¶
Returns the filesystem path of the given URI.
Will handle UNC paths and normalize windows drive letters to lower-case. Also uses the platform specific path separator. Will not validate the path for invalid characters and semantics.
- pygls.uris.uri_with(uri, scheme=None, netloc=None, path=None, params=None, query=None, fragment=None)¶
Return a URI with the given part(s) replaced. Parts are decoded / encoded.