aboutsummaryrefslogtreecommitdiff
path: root/internal/gallery/photo.go
blob: 73a61030206a52e9771b5439d81fad19e7d14641 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package gallery

import (
	"github.com/RanXom/galleryd/internal/metadata"
	"github.com/RanXom/galleryd/internal/scanner"
)

// Photo represents an image in the gallery.
//
// A Photo combines filesystem information with extracted metadata
// and a stable identifier.
type Photo struct {
	ID string

	scanner.File
	metadata.Metadata
}