Documentation
¶
Index ¶
- type CachedImage
- type DB
- func (db *DB) AddImageToBin(path string, destID int) error
- func (db *DB) AddImagesToBin(paths []string, destID int) error
- func (db *DB) Close()
- func (db *DB) GetImagePaths(binID int) ([]string, error)
- func (db *DB) GetPreview(path string) (image.Image, bool)
- func (db *DB) GetThumbnail(path string) (image.Image, bool)
- func (db *DB) SetImage(path string, imgData CachedImage) error
- func (db *DB) SetImages(images map[string]CachedImage) error
- func (db *DB) UpdateImages(paths []string, sourceID, destID int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) AddImageToBin ¶
CopyImageToBin adds an image to a new bin without removing it from existing ones.
Click to show internal directories.
Click to hide internal directories.