content

package
v0.1.0-dev.20260216190939 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(reg *execution.ActionRegistry)

Register registers all content actions with the given registry.

Types

type Literal

type Literal struct{ Impl *Provider }

Literal reads inline content and stores it for downstream nodes.

func (*Literal) Do

func (*Literal) Name

func (o *Literal) Name() string

func (*Literal) Undo

func (o *Literal) Undo(_ *execution.Context, _ map[string]any, _ execution.UndoState) error

type Provider

type Provider struct{}

Provider provides content operations.

func (*Provider) Literal

func (p *Provider) Literal(content []byte) []byte

Literal returns the provided content as-is.

Jump to

Keyboard shortcuts

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