Documentation ¶
Overview ¶
Package directories interacts with the filepaths that hold files and assets.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrPathIsFile = errors.New("path already exist as a file") ErrPrefix = errors.New("invalid prefix value, it must be between 0 - 9") )
Functions ¶
func ArchiveExt ¶ added in v1.1.32
ArchiveExt checks that the named file uses a known archive extension.
Types ¶
type Dir ¶
type Dir struct { Img000 string // path to screencaptures and previews Img150 string // path to 150x150 squared thumbnails Img400 string // path to 400x400 squared thumbnails Backup string // path to the backup archives or previously removed files Emu string // path to the DOSee emulation files Base string // base directory path that hosts these other subdirectories UUID string // path to file downloads with UUID as filenames }
Dir is a collection of paths containing files.
Click to show internal directories.
Click to hide internal directories.