migration

package
v0.0.33 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MigrationResult

type MigrationResult struct {
	FilesMigrated int
	FilesSkipped  int
	Errors        int
}

MigrationResult holds statistics from the migration run.

type V1ToV2Migrator

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

V1ToV2Migrator migrates storage from v1 (flat) to v2 (project-scoped hierarchy).

func NewV1ToV2Migrator

func NewV1ToV2Migrator(store storage.Storage, dryRun bool) *V1ToV2Migrator

NewV1ToV2Migrator creates a new migrator.

func (*V1ToV2Migrator) Run

Run executes the full v1→v2 migration.

Jump to

Keyboard shortcuts

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