paths

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpandSortGlobs added in v0.1.0

func ExpandSortGlobs(globs []string) ([]string, error)

ExpandSortGlobs gets the absolute paths for all files matching globs. Order files lexicographically within each glob but not across all globs. The order of a glob relative to other globs is important for schemas where a schema might depend on a previous schema.

func WalkUp

func WalkUp(dir, name string) (string, error)

WalkUp traverses up directory tree from dir until it finds an ancestor file named name. Checks the current directory first and then iteratively checks parent directories.

Types

This section is empty.

Jump to

Keyboard shortcuts

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