Documentation ¶
Index ¶
Constants ¶
View Source
const (
MaxArchiveEntries = 4096 * 64
)
Variables ¶
View Source
var ArchiveExtensions = []string{".zip", ".cbz"}
var ArchiveExtensions = []string{".zip", ".cbz", ".7z", ".rar", ".tar", ".tgz", ".tbz2", ".cb7", ".cbr", ".cbt"}
View Source
var (
ErrBounds = errors.New("Image index out of bounds.")
)
View Source
var ImageExtensions []string
Functions ¶
func ExtensionMatch ¶
func ListArchives ¶
Types ¶
type Archive ¶
type Archive interface { Load(i int, autorotate bool) (*gdk.Pixbuf, error) Name(i int) (string, error) Len() int Close() error }
func NewArchive ¶
type Dir ¶
type Dir struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.