Documentation ¶
Index ¶
- func GetRealPath(filename string) string
- func IsAbs(path string) bool
- func IsURI(s lsp.DocumentURI) bool
- func LowerDriver(path string) string
- func Panicf(r interface{}, format string, v ...interface{}) error
- func PathEqual(a, b string) bool
- func PathToURI(path string) lsp.DocumentURI
- func PathTrimPrefix(s, prefix string) string
- func UriToPath(uri lsp.DocumentURI) string
- func UriToRealPath(uri lsp.DocumentURI) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRealPath ¶
func LowerDriver ¶
func Panicf ¶
Panicf takes the return value of recover() and outputs data to the log with the stack trace appended. Arguments are handled in the manner of fmt.Printf. Arguments should format to a string which identifies what the panic code was doing. Returns a non-nil error if it recovered from a panic.
func PathToURI ¶
func PathToURI(path string) lsp.DocumentURI
PathToURI converts given absolute path to file URI
func PathTrimPrefix ¶
PathTrimPrefix removes the prefix from s
func UriToPath ¶
func UriToPath(uri lsp.DocumentURI) string
UriToPath converts given file URI to path
func UriToRealPath ¶
func UriToRealPath(uri lsp.DocumentURI) string
UriToRealPath converts the given file URI to the platform specific path
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.