validate

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package validate checks messages and flag combinations for recall export validity.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EmptyMessage

func EmptyMessage(msg entity.Message) bool

EmptyMessage reports whether a message has no meaningful content (no text, tool uses, or tool results).

Parameters:

  • msg: Message to check

Returns:

  • bool: True if the message is empty

func ExportFlags

func ExportFlags(args []string, opts entity.ExportOpts) error

ExportFlags checks for invalid flag combinations.

Parameters:

  • args: positional arguments (session IDs).
  • opts: export flag values.

Returns:

  • error: non-nil if flags conflict.

Types

This section is empty.

Jump to

Keyboard shortcuts

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