search

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package search provides file search functionality.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoArgs  = errors.New("request is missing arguments")
	ErrNoFlags = errors.New("no command flags provided")
	ErrSearch  = errors.New("search request needs an expression")
)

Functions

func CmdErr

func CmdErr(lenArgs int, test bool) error

CmdErr parses the arguments of the search command.

func Compare

func Compare(db *bolt.DB, f *cmd.Flags, term string, buckets []string) (*database.Matches, error)

func Error

func Error(err error) error

Error parses the errors from search compares.

Types

This section is empty.

Jump to

Keyboard shortcuts

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