contextread

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package contextread provides context reading capabilities (stub implementation). NOTE: This is a stub package. The full implementation was removed as dead code. These stub functions return empty/zero values to maintain API compatibility.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Analyze added in v0.28.0

func Analyze(content string) string

Analyze analyzes content for context (stub - returns input unchanged).

func Build

func Build(path, content, lang string, opts Options) (string, int, int, error)

Build builds context for a file (stub - returns input unchanged).

func Describe

func Describe(path string) string

Describe describes a file (stub - returns filename).

func TrackedCommandPatterns

func TrackedCommandPatterns() []string

TrackedCommandPatterns returns all tracked command patterns (stub).

func TrackedCommandPatternsForKind

func TrackedCommandPatternsForKind(kind string) []string

TrackedCommandPatternsForKind returns tracked command patterns for a kind (stub).

Types

type Options

type Options struct {
	Mode              string
	Level             string
	MaxLines          int
	MaxTokens         int
	LineNumbers       bool
	StartLine         int
	EndLine           int
	SaveSnapshot      bool
	RelatedFilesCount int
}

Options defines context reading options.

Jump to

Keyboard shortcuts

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