Versions in this module Expand all Collapse all v0 v0.0.6 Jun 11, 2026 Changes in this version type Handler + func (h *Handler) SetFinder(f *modfind.Finder) v0.0.5 Jun 2, 2026 Changes in this version + func IsUpToDate(srcPath string, variants image.Variant, outputDir string) bool + func ProcessImage(src ParsedAsset, outputDir string, quality int, log func(...any)) ([]string, error) + type Config struct + OutputDir string + Quality int + RootDir string + type Handler struct + func New(c *Config) *Handler + func (h *Handler) InitDefaultLoader() + func (h *Handler) LoadImages() error + func (h *Handler) Logger(messages ...any) + func (h *Handler) Name() string + func (h *Handler) ReloadModule(moduleDir string) error + func (h *Handler) SetListModulesFn(fn func(rootDir string) ([]string, error)) + func (h *Handler) SetLog(fn func(messages ...any)) + func (h *Handler) UnobservedFiles() []string + type ParsedAsset struct + AbsPath string + Alt string + BaseName string + Variants image.Variant + func ExtractImages(moduleDir string) ([]ParsedAsset, error)