internal/

directory
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2026 License: MIT

Directories

Path Synopsis
Package cmd defines *cli.Command values for each codesearch subcommand.
Package cmd defines *cli.Command values for each codesearch subcommand.
Package config defines indexer configuration: repo root discovery, index storage paths, default field boosts, and ignore-file location.
Package config defines indexer configuration: repo root discovery, index storage paths, default field boosts, and ignore-file location.
Package digest computes git-blob hashes for indexed files.
Package digest computes git-blob hashes for indexed files.
Package doc parses YAML frontmatter and represents the indexable document model that all downstream layers consume.
Package doc parses YAML frontmatter and represents the indexable document model that all downstream layers consume.
Package ignore loads .codesearchignore (gitignore syntax) and walks the repo skipping ignored paths, oversized files, and binary content.
Package ignore loads .codesearchignore (gitignore syntax) and walks the repo skipping ignored paths, oversized files, and binary content.
Package index wraps Bleve: schema definition, Open/Create, and the Upsert/Delete/Stats surface used by sync, query, and MCP layers.
Package index wraps Bleve: schema definition, Open/Create, and the Upsert/Delete/Stats surface used by sync, query, and MCP layers.
Package mcp serves the codesearch tools over MCP via stdio.
Package mcp serves the codesearch tools over MCP via stdio.
Package query builds the Bleve search request from user input (positional terms + repeatable --field filters) and renders results.
Package query builds the Bleve search request from user input (positional terms + repeatable --field filters) and renders results.
Package sync reconciles the filesystem (walker + digest) with the persisted Bleve index, using mtime/size fast-path and digest equality to skip unchanged docs.
Package sync reconciles the filesystem (walker + digest) with the persisted Bleve index, using mtime/size fast-path and digest equality to skip unchanged docs.

Jump to

Keyboard shortcuts

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