Documentation ¶
Index ¶
- Constants
- Variables
- func GetBinaryForVersion(distname, binnom, root, vers, out string) error
- func GetLatestVersion(ipfspath, dist string) (string, error)
- func GetMigrations() (string, error)
- func GetVersions(ipfspath, dist string) ([]string, error)
- func RunMigration(newv int) error
- type RepoPath
- type VersionFileNotFound
Constants ¶
View Source
const VersionFile = "version"
Variables ¶
View Source
var DistPath = "https://ipfs.io/ipfs/QmUnvqDuRyfe7HJuiMMHv77AMUFnjGyAU28LFPeTYwGmFF"
Functions ¶
func GetBinaryForVersion ¶
func GetLatestVersion ¶
func GetMigrations ¶
func GetVersions ¶
func RunMigration ¶
Types ¶
type RepoPath ¶
type RepoPath string
func (RepoPath) CheckVersion ¶
func (RepoPath) VersionFile ¶
func (RepoPath) WriteVersion ¶
type VersionFileNotFound ¶ added in v0.3.2
type VersionFileNotFound string
func (VersionFileNotFound) Error ¶ added in v0.3.2
func (v VersionFileNotFound) Error() string
Click to show internal directories.
Click to hide internal directories.