pathutil

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveAbsPath

func ResolveAbsPath(absPath string) (string, bool, error)

func ResolvePathPattern

func ResolvePathPattern(pattern string) string

Types

type ResolvedPath

type ResolvedPath struct {
	OriginalPath  string
	AbsPath       string
	CanonicalPath string
	LeafExists    bool
}

func ResolveFilePath

func ResolveFilePath(path string) (ResolvedPath, error)

func ResolveFilePathFrom

func ResolveFilePathFrom(root, path string) (ResolvedPath, error)

Jump to

Keyboard shortcuts

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