Documentation
¶
Index ¶
- type ChunkMetadata
- type Index
- func (idx *Index) FindSimilarChunks(ctx context.Context, chunkID string) ([]string, error)
- func (idx *Index) GetChunk(ctx context.Context, id string) (*parser.Chunk, error)
- func (idx *Index) Index(ctx context.Context, file *parser.File) error
- func (idx *Index) IsStale(filePath string) bool
- func (idx *Index) Remove(ctx context.Context, filePath string) error
- func (idx *Index) Search(ctx context.Context, query string, fileTypes []string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChunkMetadata ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.