migrate

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package migrate defines migrations for qri configuration files

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunMigrations

func RunMigrations(streams ioes.IOStreams, cfg *config.Config) (migrated bool, err error)

RunMigrations checks to see if any migrations runs them

func ZeroToOne

func ZeroToOne(cfg *config.Config) error

ZeroToOne migrates a configuration from Revision Zero (no revision number) to Revision 1

Types

This section is empty.

Jump to

Keyboard shortcuts

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