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