export

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package export writes JSONL snapshots of all PRISM Control tables plus a manifest into a target directory.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manifest

type Manifest struct {
	ExportedAt time.Time      `json:"exported_at"`
	Counts     map[string]int `json:"counts"`
}

Manifest records metadata about an export run.

type Result

type Result struct {
	Dir      string
	Manifest Manifest
}

Result summarizes what was exported.

func Run

func Run(ctx context.Context, s store.Store, dir string) (*Result, error)

Run exports all tables from the store as JSONL files into dir.

Jump to

Keyboard shortcuts

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