package
3.3.0+incompatible
Repository: https://github.com/google/agi.git
Documentation: pkg.go.dev

# Packages

Package crunch provides functions to compress and decompress stacktraces.

# Functions

And returns a filter where all of the filters need to pass.
Capture returns a full stacktrace.
MatchFunction returns a predicate that matches the specified function by regular expression.
MatchPackage returns a predicate that matches the specified package by regular expression.
Trim returns a filter combining the TrimTop and TrimBottom filters with m.
TrimBottom returns a filter that removes all the shallowest entries that doesn't satisfy m.
TrimTop returns a filter that removes all the deepest entries that doesn't satisfy m.

# Structs

Entry
Entry holds the human understandable form of a StackTrace entry.
Function holds the logical location of a stack entry.
Location holds the physical location of a stack entry.

# Type aliases

Callstack is a full stacktrace.
Filter returns a filtered set of stack entries.
Matcher is a predicate for stack entries.