Files
pixa/internal/whitelist
clawbot eae6f6e9ac
All checks were successful
check / check (push) Successful in 57s
refactor: extract whitelist package from internal/imgcache
Move HostWhitelist, NewHostWhitelist, IsWhitelisted, IsEmpty, and Count
from internal/imgcache into the new internal/whitelist package.

The whitelist package is completely self-contained, depending only on
net/url and strings from the standard library.

Updated import in internal/imgcache/service.go to use the new package.
Tests moved and adapted to external test style (package whitelist_test).

Part of #39
2026-03-24 18:22:48 -07:00
..