mg12

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: MIT Imports: 11 Imported by: 1

Documentation

Overview

package mg12 contains the code to perform 12-13 repository migration in Kubo. This just change some config fields to add webtransport listens on ones that quic uses, and removes some hardcoded defaults that are no longer present on fresh 'ipfs init'.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Migration

type Migration struct{}

Migration implements the migration described above.

func (Migration) Apply

func (m Migration) Apply(opts migrate.Options) error

Apply update the config.

func (Migration) Reversible

func (m Migration) Reversible() bool

Reversible returns true, as we keep old config around

func (Migration) Revert

func (m Migration) Revert(opts migrate.Options) error

func (Migration) Versions

func (m Migration) Versions() string

Versions returns the current version string for this migration.

Jump to

Keyboard shortcuts

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