mfsr

package
v0.4.3-rc1 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2016 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const VersionFile = "version"

Variables

View Source
var DistPath = "https://ipfs.io/ipfs/QmUnvqDuRyfe7HJuiMMHv77AMUFnjGyAU28LFPeTYwGmFF"

Functions

func GetBinaryForVersion

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

func GetLatestVersion

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

func GetMigrations

func GetMigrations() (string, error)

func GetVersions

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

func RunMigration

func RunMigration(newv int) error

Types

type RepoPath

type RepoPath string

func (RepoPath) CheckVersion

func (rp RepoPath) CheckVersion(version int) error

func (RepoPath) Version

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

func (RepoPath) VersionFile

func (rp RepoPath) VersionFile() string

func (RepoPath) WriteVersion

func (rp RepoPath) WriteVersion(version int) error

type VersionFileNotFound added in v0.3.2

type VersionFileNotFound string

func (VersionFileNotFound) Error added in v0.3.2

func (v VersionFileNotFound) Error() string

Jump to

Keyboard shortcuts

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