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

import "time"

// File represents a discovered file on disk.
//
// It contains only filesystem information.
// Higher-level packages enrich it with metadata such as EXIF,
// dimensions, IDs and thumbnails.
type File struct {
	Path         string
	Root         string
	RelativePath string

	Size    int64
	ModTime time.Time
}