uri

package
v0.29.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromPath

func FromPath(client clients.Identifier, path string) string

FromPath converts a file path to a URI for a given client. Since clients expect URIs to be in a specific format, this function will convert the path to the appropriate format for the client.

func ToPath

func ToPath(client clients.Identifier, uri string) string

ToPath converts a URI to a file path from a format for a given client. Some clients represent URIs differently, and so this function exists to convert client URIs into a standard file paths.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL