emitter

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package emitter applies diff deltas to the store in a single transaction.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Emit

func Emit(ctx context.Context, st *store.Store, opts ...Option) error

Types

type Option

type Option func(*options)

func WithCompileRoot

func WithCompileRoot(r string) Option

func WithCursorHash

func WithCursorHash(h string) Option

func WithDeltas

func WithDeltas(d []diff.Delta) Option

func WithMessage

func WithMessage(m string) Option

func WithRoots

func WithRoots(r []*parser.ContextNode) Option

Jump to

Keyboard shortcuts

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