go-ipfs: github.com/ipfs/go-ipfs/repo/fsrepo/migrations Index | Files

package mfsr

import "github.com/ipfs/go-ipfs/repo/fsrepo/migrations"

Index

Package Files

mfsr.go migrations.go unpack.go

Constants

const VersionFile = "version"

Variables

var DistPath = "https://ipfs.io/ipfs/QmZLYJBVBK8nqc5JTHp6CZU1v9Ja3MvGrkCe61PfCecc6E"

func GetBinaryForVersion Uses

func GetBinaryForVersion(distname, binnom, root, vers, out string) error

func GetLatestVersion Uses

func GetLatestVersion(ipfspath, dist string) (string, error)

func GetMigrations Uses

func GetMigrations() (string, error)

func GetVersions Uses

func GetVersions(ipfspath, dist string) ([]string, error)

func RunMigration Uses

func RunMigration(newv int) error

type RepoPath Uses

type RepoPath string

func (RepoPath) CheckVersion Uses

func (rp RepoPath) CheckVersion(version int) error

func (RepoPath) Version Uses

func (rp RepoPath) Version() (int, error)

func (RepoPath) VersionFile Uses

func (rp RepoPath) VersionFile() string

func (RepoPath) WriteVersion Uses

func (rp RepoPath) WriteVersion(version int) error

Package mfsr imports 16 packages (graph) and is imported by 47 packages. Updated 2018-06-26. Refresh now. Tools for package owners.