path

package
v0.0.0-...-7570391 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const OtaruScheme = "otaru:"
View Source
const VhostLocal = "[local]"

Variables

This section is empty.

Functions

func ResolveLocalPath

func ResolveLocalPath(localRootPath, relPath string) string

Types

type Path

type Path struct {
	Vhost  string
	FsPath string
}

func Parse

func Parse(s string) (Path, error)

type State

type State int
const (
	Initial State = iota
	AfterOtaruScheme
	BeforeVhost
	BeforeFsPath
	End
)

Jump to

Keyboard shortcuts

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