diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-03 08:03:27 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-03 08:03:27 +0300 |
| commit | f4bc35c0a24766c8e9a155cbad5ffdaf088ec458 (patch) | |
| tree | a9f1bb488bc7473549cb6e3552c531154841f0ef /internal/processor/processor_test.go | |
| parent | 63bd86d8046949e80e5b1122a1fcf717f51915c6 (diff) | |
task 00o: split ImageSearcher into ImageSearcher + AttributionProvider (ISP)
Introduce AttributionProvider interface with GetAttribution() separate from
ImageSearcher so callers only needing search/download don't carry attribution.
ImageClient composes both. Downloader.searcher and NewDownloader now take
ImageClient since attribution is needed when saving downloaded files.
Compile-time assertions updated to ImageClient.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/processor/processor_test.go')
0 files changed, 0 insertions, 0 deletions
