Documentation ¶
Index ¶
- func AddNonMetafileOverrides(index *core.Index, exp *zip.Writer)
- func AddToZip(dl core.CompletedDownload, exp *zip.Writer, dir string, index *core.Index) bool
- func GetRawForgeVersion(version string) string
- func ListManualDownloads(session core.DownloadSession)
- func PrintDisclaimer(isCf bool)
- func PromptYesNo(prompt string) bool
- type McVersionManifest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddNonMetafileOverrides ¶
AddNonMetafileOverrides saves all non-metadata files into an overrides folder in the zip
func GetRawForgeVersion ¶
func ListManualDownloads ¶
func ListManualDownloads(session core.DownloadSession)
func PrintDisclaimer ¶
func PrintDisclaimer(isCf bool)
func PromptYesNo ¶
Types ¶
type McVersionManifest ¶
type McVersionManifest struct { Latest struct { Release string `json:"release"` Snapshot string `json:"snapshot"` } `json:"latest"` Versions []struct { ID string `json:"id"` Type string `json:"type"` URL string `json:"url"` Time time.Time `json:"time"` ReleaseTime time.Time `json:"releaseTime"` } `json:"versions"` }
func GetValidMCVersions ¶
func GetValidMCVersions() (McVersionManifest, error)
func (McVersionManifest) CheckValid ¶
func (m McVersionManifest) CheckValid(version string)
Click to show internal directories.
Click to hide internal directories.