convert

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Log = logging.New(os.Stderr, "convert ", logging.LstdFlags)

Functions

func Convert

func Convert(repoPath string, keepBackup bool) error

func CopyKeys

func CopyKeys(fromDs repo.Datastore, toDs repo.Datastore) error

Types

type Conversion

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

Conversion holds Conversion state and progress

type Copy

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

func NewCopy

func NewCopy(path string, fromSpec strategy.Spec, toSpec strategy.Spec, log *revert.ActionLogger, logStep func(string, ...interface{})) *Copy

func (*Copy) Clean

func (c *Copy) Clean() error

func (*Copy) Run

func (c *Copy) Run() error

func (*Copy) Verify

func (c *Copy) Verify() error

Jump to

Keyboard shortcuts

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