utils

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2026 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIndentation

func GetIndentation(line string) string

Get the leading whitespace (spaces or tabs) from a line

func PathToURI

func PathToURI(path string) string

Converts an absolute path to and URI

func UriToPath

func UriToPath(uri string) (string, error)

Converts a URI to an absolute path

Types

This section is empty.

Jump to

Keyboard shortcuts

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