lineage

package
v0.70.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: Apache-2.0 Imports: 1 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug added in v0.46.0

func Debug(trace []*topdown.Event) []*topdown.Event

Debug contains everything in the log.

func Fails

func Fails(trace []*topdown.Event) []*topdown.Event

Fails returns a filtered trace that contains Fail events and context to understand where the Fail occurred.

func Filter added in v0.19.0

func Filter(trace []*topdown.Event, filter func(*topdown.Event) bool) (result []*topdown.Event)

Filter will filter a given trace using the specified filter function. The filtering function should return true for events that should be kept, false for events that should be filtered out.

func Full added in v0.46.0

func Full(trace []*topdown.Event) (result []*topdown.Event)

Full returns a filtered trace that contains everything except Unify ops

func Notes

func Notes(trace []*topdown.Event) []*topdown.Event

Notes returns a filtered trace that contains Note events and context to understand where the Note was emitted.

Types

This section is empty.

Jump to

Keyboard shortcuts

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