digest

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExistingFile

func ExistingFile(path string) (bool, error)

func WriteFileAtomic

func WriteFileAtomic(path string, data []byte) error

Types

type Options

type Options struct {
	Root       string
	Repository string
	Tree       *scanner.Tree
	Logger     *slog.Logger
}

type Result

type Result struct {
	Content         string
	FilesAnalyzed   int
	EstimatedTokens string
	Warnings        []string
}

func Build

func Build(ctx context.Context, opts Options) (Result, error)

Jump to

Keyboard shortcuts

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