ignore

package
v0.1.1 Latest Latest
Warning

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

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

Documentation

Overview

Package ignore filters source-tree walks via a .remindb.ignore sidecar file.

Index

Constants

View Source
const FileName = ".remindb.ignore"

Variables

This section is empty.

Functions

This section is empty.

Types

type Matcher

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

func Load

func Load(dir string) (*Matcher, error)

Load reads <dir>/.remindb.ignore. Returns (nil, nil) if absent.

func (*Matcher) Match

func (m *Matcher) Match(relPath string, isDir bool) bool

Report whether relPath is excluded.

Jump to

Keyboard shortcuts

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