index

package
v0.4.9 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: BSD-2-Clause Imports: 6 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder interface {
	Build(ctx context.Context, vaultPath string, files []string) (*VaultIndex, error)
}

Builder builds a vault index from files

func New

func New(parser parser.Parser) Builder

New creates a new Builder

type VaultIndex

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

VaultIndex contains normalized file and alias mappings

func (*VaultIndex) Resolve

func (v *VaultIndex) Resolve(target string) bool

Resolve checks if a target exists in the index (case-insensitive)

Jump to

Keyboard shortcuts

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