pattern

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Expand

func Expand(root string, items []string, excludes Matcher, markdownOnly bool) ([]string, []string, error)

func HasMeta

func HasMeta(value string) bool

func IsMarkdown

func IsMarkdown(value string) bool

func Normalize

func Normalize(value string) string

Types

type Matcher

type Matcher struct {
	// contains filtered or unexported fields
}

func NewMatcher

func NewMatcher(root string, patterns []string) Matcher

func (Matcher) Match

func (m Matcher) Match(rel string) bool

Jump to

Keyboard shortcuts

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