unsafepath

package
v0.59.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnsafeAbsolute

func UnsafeAbsolute(path *Path) string

func UnsafeRelative

func UnsafeRelative(path *Path) string

func UnsafeRoot

func UnsafeRoot(path *Path) string

Types

type Path

type Path struct {
	// contains filtered or unexported fields
}

func New

func New(rootBase string, relativePath string) *Path

Jump to

Keyboard shortcuts

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