filesearcher

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DirectoryDescription = "/dir.md"
)

Variables

This section is empty.

Functions

func NewFileSearcher

func NewFileSearcher() *fileSearcher

Types

type File

type File struct {
	Name             string
	Link             string
	Description      string
	Docs             string
	Labels           []string
	Examples         string
	ExamplesLanguage string
	ExtraLinks       []Link

	Path string
}

func (*File) HasLabel

func (f *File) HasLabel(label string) bool

func (*File) MatchDescription

func (f *File) MatchDescription(q string) bool
type Link struct {
	Title string
	URL   string
}

Jump to

Keyboard shortcuts

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