storeseed

package
v0.3.0-beta.4 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Seed

type Seed struct {
	// contains filtered or unexported fields
}

func NewCombined

func NewCombined(ctx context.Context) (*Seed, error)

NewCombined creates a closed seed containing the current global and memory schemas.

func NewGlobal

func NewGlobal(ctx context.Context) (*Seed, error)

NewGlobal creates a closed seed containing the current global schema.

func NewMemory

func NewMemory(ctx context.Context) (*Seed, error)

NewMemory creates a closed seed containing the current memory schema.

func (*Seed) Clone

func (s *Seed) Clone(targetPath string) error

Clone copies the closed seed into an isolated writable database path.

func (*Seed) Close

func (s *Seed) Close() error

Close removes the process-local seed files.

Jump to

Keyboard shortcuts

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