Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsURIValid ¶
IsURIValid checks whether uri is a valid URI per RFC 8089
func IsWSLURI ¶
IsWSLURI checks whether URI represents a WSL (Windows Subsystem for Linux) UNC path on Windows, such as \\wsl$\Ubuntu\path.
Such a URI represents a common user error since the LS is generally expected to run in the same environment where files are located (i.e. within the Linux subsystem with Linux paths such as /Ubuntu/path).
func MustParseURI ¶
MustParseURI returns a normalized RFC 8089 URI. It will panic if rawUri is invalid.
Use IsURIValid for checking validity upfront.
func MustPathFromURI ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.