summaryrefslogtreecommitdiff
path: root/player-android/android/app
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-19 19:35:42 +0300
committerPaul Buetow <paul@buetow.org>2026-05-19 19:35:42 +0300
commitd2c18b25caffafa64d90195d24bca77315f76d16 (patch)
tree64839f04a6fab2b3930584680120185b32e6fe57 /player-android/android/app
parent41bdcb29178fcbcd71fb3663f507736151c018db (diff)
Introduce thumb.Resolver to decouple browseService from filesystem
browseService.GetThumbnail previously called os.Stat directly, coupling the service layer to the filesystem and forcing tests to write temporary files. Introduce a thumb.Resolver interface plus an FSResolver default, inject it into browseService, and wire NewMediaServiceWithDeps so production constructs the resolver explicitly. Tests can now swap in a fake Resolver without touching disk. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Diffstat (limited to 'player-android/android/app')
0 files changed, 0 insertions, 0 deletions