qri: github.com/qri-io/qri/config/migrate Index | Files

package migrate

import "github.com/qri-io/qri/config/migrate"

Package migrate defines migrations for qri configuration files


Package Files


func RunMigrations Uses

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

RunMigrations checks to see if any migrations runs them

func ZeroToOne Uses

func ZeroToOne(cfg *config.Config) error

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

Package migrate imports 2 packages (graph) and is imported by 1 packages. Updated 2019-04-17. Refresh now. Tools for package owners.