Documentation
¶
Overview ¶
Package directories interacts with the filepaths that hold both the user files for downloads and website assets.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrDir = errors.New("directory cannot be an empty value") ErrNil = errors.New("directories structure pointer cannot be nil") )
Functions ¶
func ArchiveExt ¶
ArchiveExt checks that the named file uses a known archive extension.
func PlaceHolders ¶
PlaceHolders generates a collection placeholder files in the UUID subdirectories.
Types ¶
type Dir ¶
type Dir struct {
Img000 string // Img000 contain record screenshots and previews.
Img400 string // Img400 contain 400x squared thumbnails of the screenshots.
Backup string // Backup archives for SQL data and previously removed files.
Emu string // Emu has the DOSee emulation files.
Base string // Base or root directory path, the parent of these other subdirectories.
UUID string // UUID file downloads.
}
Dir is the collection of directories pointing to specific files.
Click to show internal directories.
Click to hide internal directories.