Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ArtDownloadTypeFromString = map[string]sum.Int[ArtDownloadType]{ "BOX_ART": ArtDownloadTypes.BOX_ART, "TITLE_SCREEN": ArtDownloadTypes.TITLE_SCREEN, "LOGOS": ArtDownloadTypes.LOGOS, "SCREENSHOTS": ArtDownloadTypes.SCREENSHOTS, }
View Source
var ArtDownloadTypeMapping = map[sum.Int[ArtDownloadType]]string{ ArtDownloadTypes.BOX_ART: "Named_Boxarts", ArtDownloadTypes.TITLE_SCREEN: "Named_Titles", ArtDownloadTypes.LOGOS: "Named_Logos", ArtDownloadTypes.SCREENSHOTS: "Named_Snaps", }
View Source
var ArtDownloadTypes = sum.Int[ArtDownloadType]{}.Sum()
View Source
var HostTypes = sum.Int[HostType]{}.Sum()
Functions ¶
This section is empty.
Types ¶
type ArtDownloadType ¶
type ArtDownloadType struct {
BOX_ART,
TITLE_SCREEN,
LOGOS,
SCREENSHOTS sum.Int[ArtDownloadType]
}
type Item ¶
type Item struct {
DisplayName string `json:"name"`
Filename string `json:"filename"`
Path string `json:"path"`
IsDirectory bool `json:"is_directory"`
IsSelfContainedDirectory bool `json:"-"`
IsMultiDiscDirectory bool `json:"-"`
DirectoryFileCount int `json:"-"`
FileSize string `json:"file_size"`
LastModified string `json:"last_modified"`
Tag string `json:"tag"`
RomID string `json:"-"` // For RomM Support
ArtURL string `json:"-"` // For RomM Support
}
type RomDirectory ¶
type Section ¶
type Section struct {
Name string `yaml:"section_name,omitempty" json:"section_name,omitempty"`
SystemTag string `yaml:"system_tag,omitempty" json:"system_tag,omitempty"`
LocalDirectory string `yaml:"local_directory,omitempty" json:"local_directory,omitempty"`
HostSubdirectory string `yaml:"host_subdirectory,omitempty" json:"host_subdirectory,omitempty"`
RomMPlatformID string `yaml:"romm_platform_id,omitempty" json:"romm_platform_id,omitempty"`
CollectionFilePath string `yaml:"collection_file_path,omitempty" json:"collection_file_path,omitempty"`
}
type TableColumns ¶
Click to show internal directories.
Click to hide internal directories.