diff options
| author | RanXom <saiyedshizain@gmail.com> | 2026-07-13 12:29:45 +0530 |
|---|---|---|
| committer | RanXom <saiyedshizain@gmail.com> | 2026-07-13 12:29:45 +0530 |
| commit | 5fa3daffb2f29b10828c4103b9b2b78220568736 (patch) | |
| tree | 8d61f2172aa708e534d1bb9f6bbe3988e48079b9 /internal/gallery/builder.go | |
| parent | 1694a7b3d4db4dc5f089ca272a3f207c7c458a63 (diff) | |
| download | galleryd-5fa3daffb2f29b10828c4103b9b2b78220568736.tar.xz galleryd-5fa3daffb2f29b10828c4103b9b2b78220568736.zip | |
refactor(gallery): generate IDs from canonical paths
Diffstat (limited to 'internal/gallery/builder.go')
| -rw-r--r-- | internal/gallery/builder.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/gallery/builder.go b/internal/gallery/builder.go index 1964b19..60ba006 100644 --- a/internal/gallery/builder.go +++ b/internal/gallery/builder.go @@ -37,7 +37,7 @@ func (b *Builder) Build( } photos = append(photos, Photo{ - ID: generateID(file.RelativePath), + ID: generateID(file), File: file, Metadata: md, }) |