Continued work on download system (cache + cf meta now implemented)

This commit is contained in:
comp500
2022-05-18 22:11:28 +01:00
parent 30bc6d81bb
commit e73fa8c48a
5 changed files with 441 additions and 200 deletions

View File

@@ -45,7 +45,7 @@ type MetaDownloader interface {
// MetaDownloaderData specifies the per-Mod metadata retrieved for downloading
type MetaDownloaderData interface {
GetManualDownload() (bool, ManualDownload)
DownloadFile(io.Writer) error
DownloadFile() (io.ReadCloser, error)
}
type ManualDownload struct {