5b8d6a22

Author: Michael Lynch <git@mtlynch.io>

Committer: Michael Lynch <mtlynch@noreply.codeberg.org>

Move media path mapping into writers (#283)

Make MediaWriter responsible for mapping filenames to backend-relative paths so callers no longer pass a separate PathFor function alongside the writer. This keeps S3 subfolder handling encapsulated in the S3 writer and lets upload/import processing use Writer.PathFor consistently.

Reviewed-on: https://codeberg.org/mtlynch/little-moments/pulls/283