tooloutput

package
v0.82.2 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultLineLimit = 2000

Variables

This section is empty.

Functions

func SanitizeBytes

func SanitizeBytes(data []byte) string

Types

type Accumulator

type Accumulator struct {
	// contains filtered or unexported fields
}

func NewAccumulator

func NewAccumulator(options AccumulatorOptions) *Accumulator

func (*Accumulator) Append

func (a *Accumulator) Append(data []byte)

func (*Accumulator) Close

func (a *Accumulator) Close()

func (*Accumulator) RawBufferedBytes

func (a *Accumulator) RawBufferedBytes() int

func (*Accumulator) Snapshot

func (a *Accumulator) Snapshot(persistIfTruncated bool) Snapshot

func (*Accumulator) TotalRawBytes

func (a *Accumulator) TotalRawBytes() int

type AccumulatorOptions

type AccumulatorOptions struct {
	MaxLines       int
	MaxBytes       int
	TempFilePrefix string
}

type Snapshot

type Snapshot struct {
	Content        string
	Truncation     agentharness.TruncationResult
	FullOutputPath string
	LastLineBytes  int
}

Jump to

Keyboard shortcuts

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