presets

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package presets provides built-in named classification rule bundles that a repo can opt into without hand-writing regexes.

Index

Constants

This section is empty.

Variables

View Source
var Names = []string{"iam"}

Names lists available preset names (for error messages).

Functions

func Get

func Get(name, iconOverride string) (classify.Rule, bool)

Get returns the rule bundle for name. iconOverride replaces the preset's default glyph when non-empty. ok is false for unknown names.

Types

This section is empty.

Jump to

Keyboard shortcuts

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