mirror of
https://github.com/packwiz/packwiz.git
synced 2025-04-19 21:16:30 +02:00
22 lines
419 B
Go
22 lines
419 B
Go
package packinterop
|
|
|
|
import "io"
|
|
|
|
type ImportPackFile interface {
|
|
Name() string
|
|
Open() (io.ReadCloser, error)
|
|
}
|
|
|
|
type ImportPackMetadata interface {
|
|
Name() string
|
|
Versions() map[string]string
|
|
Mods() []AddonFileReference
|
|
GetFiles() ([]ImportPackFile, error)
|
|
}
|
|
|
|
type ImportPackSource interface {
|
|
GetFile(path string) (ImportPackFile, error)
|
|
GetFileList() ([]ImportPackFile, error)
|
|
GetPackFile() ImportPackFile
|
|
}
|