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/QmUgY7wRGB7bEKREE5BNrSwjzrRZddkRV4bu64bP2qgv7f"
Functions ¶
func GetBinaryForVersion ¶ added in v0.4.3
func GetLatestVersion ¶ added in v0.4.3
func GetMigrations ¶ added in v0.4.3
func GetVersions ¶ added in v0.4.3
func RunMigration ¶ added in v0.4.3
Types ¶
type RepoPath ¶
type RepoPath string
func (RepoPath) CheckVersion ¶
func (RepoPath) VersionFile ¶
func (RepoPath) WriteVersion ¶
type VersionFileNotFound ¶
type VersionFileNotFound string
func (VersionFileNotFound) Error ¶
func (v VersionFileNotFound) Error() string
Click to show internal directories.
Click to hide internal directories.