Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DAT ¶
type DAT struct {
Games []Game
}
DAT structure
func (*DAT) FromMemory ¶
FromMemory load current instance with embedded data based on system
type Game ¶
type Game struct { Name string CloneOf string RomOf string Description string Year string Roms []string Merges []string }
Game definition is DAT
type GameStatus ¶
type GameStatus struct { Title string Source string Destination string Image string Warnings []error Errors []error }
GameStatus keeps current state of a rom treatement
type Index ¶
type Index interface { Add(key string, data interface{}) error Search(query string) ([]SearchResult, error) Status() SearchStatus Close() error }
Index defines indexing API
func CreateIndex ¶
CreateIndex instanciates a new Index implementation
type Options ¶
type Options struct { Region Region System System ImagesDir string RomsDir string CleanedDir string KeepClones bool CopyMode bool FailOnError bool }
Options defines global cleaner options
type SearchResult ¶
SearchResult is the returned object by an Index.Search query
type SearchStatus ¶
SearchStatus maintains current search result status
Click to show internal directories.
Click to hide internal directories.