Versions in this module Expand all Collapse all v0 v0.1.1 Oct 27, 2026 v0.1.0 Oct 27, 2026 Changes in this version + func BuildFingerprints(root string, files []string) (map[string]string, error) + func DiffFingerprints(prev, curr map[string]string) (added, modified, deleted []string) + func LoadFingerprints(path string) (map[string]string, error) + func SaveFingerprints(path string, fp map[string]string) error + func SaveMeta(path string, m EmbedMeta) error + type EmbedMeta struct + Dim int + Model string + func LoadMeta(path string) (EmbedMeta, bool) + func MetaFor(emb embedder.Embedder) EmbedMeta + func (m EmbedMeta) Compatible(cur EmbedMeta) bool + type FileFingerprint struct + Path string + SHA256 string + type Hit struct + ChunkName string + Path string + Score float32 + type Index interface + Add func(ctx context.Context, chunks []chunker.Chunk, paths []string) error + Load func(path string) error + Persist func(path string) error + Remove func(paths []string) + Search func(ctx context.Context, query string, k int) ([]Hit, error) + func New(emb embedder.Embedder) Index