version

package
v0.0.0-...-c7d0891 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2015 License: MIT Imports: 11 Imported by: 3

Documentation

Index

Constants

View Source
const (
	Upstream    = "http://dl.maximumtwang.com/SDE/"
	VersionFile = "versions.json"
)

Variables

This section is empty.

Functions

func GenVersions

func GenVersions() (map[string]string, error)

GenVersions generates a versions map given all the SDE files in the current working directory and marshals it to file.

func GetVersion

func GetVersion(v string, file string) error

GetVersion downloads a given version if possible

func GetVersionPath

func GetVersionPath(v string) string

GetVersionPath returns where the version files are stored

func LoadLatest

func LoadLatest() (*sde.SDE, error)

LoadLatest loads the latest SDE files available

func LoadVersions

func LoadVersions() (map[string]string, error)

LoadVersions checks the download server for all of the available versions

Types

This section is empty.

Jump to

Keyboard shortcuts

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