Skip to content

Commit

Permalink
feat: Intern exif metadata
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Boutour <[email protected]>
  • Loading branch information
ViBiOh committed Sep 21, 2024
1 parent dcaa1cf commit 97d18a0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/metadata/exif.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ func New(ctx context.Context, config *Config, storageService absto.Storage, mete
metadata.Tags[index] = unique.Make(tag).Value()
}

for key, value := range metadata.Exif.Data {
metadata.Exif.Data[key] = unique.Make(value).Value()
}

return metadata, err
}, traceProvider).
WithMaxConcurrency(provider.MaxConcurrency).
Expand Down

0 comments on commit 97d18a0

Please sign in to comment.