core

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	InputPaths      []string
	OutputPath      string
	Format          string // "xml", "markdown", "zip", etc.
	IgnoreGit       bool
	CountTokens     bool
	CopyToClipboard bool
	NoTree          bool
	SkeletonMode    bool
	IgnorePatterns  []string
	DisableSecurity bool
	ModelName       string
}

type Filter

type Filter interface {
	ShouldIgnore(path string, isDir bool) bool
}

type Formatter

type Formatter interface {
	Name() string
	Start(w io.Writer) error
	WriteTree(w io.Writer, tree string) error
	AddFile(w io.Writer, relPath string, content []byte) error
	Close(w io.Writer) error
}

type TokenCounter

type TokenCounter interface {
	Count(text string) int
}

type Walker

type Walker interface {
	Walk() iter.Seq2[string, error]
}

Jump to

Keyboard shortcuts

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