Help us shape the future of Go! Take the 2026 Go Developer Survey

pathglob

package
v0.38.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package pathglob matches repository paths against patterns where `*` stays within one folder and `**` spans any number of folders.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Any

func Any(patterns []string, name string) bool

Any reports whether name matches one of the patterns.

func Match

func Match(pattern, name string) bool

Match reports whether a slash-separated path matches pattern.

Types

This section is empty.

Jump to

Keyboard shortcuts

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