pathutil

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GlobRoot

func GlobRoot(pattern string) (string, error)

GlobRoot returns the absolute non-glob root for a glob pattern.

func MatchesAny

func MatchesAny(path string, patterns []string) (bool, error)

MatchesAny reports whether path matches any glob pattern.

func ResolveGlobs

func ResolveGlobs(patterns []string) (resolved []string, roots []string, warnings []string, err error)

ResolveGlobs expands sweep path patterns into absolute paths and roots.

Types

This section is empty.

Jump to

Keyboard shortcuts

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