Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsURIValid ¶ added in v0.17.0
IsURIValid checks whether uri is a valid URI per RFC 8089
func IsWSLURI ¶ added in v0.29.2
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 ¶ added in v0.26.0
MustParseURI returns a normalized RFC 8089 URI. It will panic if rawUri is invalid.
Use IsURIValid for checking validity upfront.
func MustPathFromURI ¶ added in v0.17.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.