plan

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: 15 Imported by: 0

Documentation

Overview

Package plan builds an export plan that maps sessions to journal output files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Export

func Export(
	sessions []*entity.Session,
	journalDir string,
	sessionIndex map[string]string,
	jstate *state.JournalState,
	opts entity.ExportOpts,
	singleSession bool,
) entity.ExportPlan

Export builds an ExportPlan without writing any files.

Parameters:

  • sessions: sessions to plan for.
  • journalDir: absolute path to the journal output directory.
  • sessionIndex: map of session ID to existing filename.
  • jstate: journal processing state for lock checks.
  • opts: export flag values.
  • singleSession: true when exporting a single session by ID.

Returns:

  • ExportPlan: the planned actions, counters, and pending renames.

Types

This section is empty.

Jump to

Keyboard shortcuts

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