glob

package
v4.70.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: MPL-2.0, MIT Imports: 1 Imported by: 4

README

Glob Matching Library

This glob-matching library was copied from ryanuber/go-glob and therefore falls under its license.

Documentation

Index

Constants

View Source
const GLOB = "*"

The character which is treated like a glob

Variables

This section is empty.

Functions

func Glob

func Glob(pattern, subj string) bool

Glob will test a string pattern, potentially containing globs, against a subject string. The result is a simple true/false, determining whether or not the glob pattern matched the subject text.

func IncludeTable

func IncludeTable(name string, tables []string, skipTables []string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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