Author: Michael Lynch <git@mtlynch.io>
Committer: Michael Lynch <mtlynch@noreply.codeberg.org>
Collapse writeFromFS into convertAndWrite (#269) writeFromFS was convertAndWrite with an identity (io.Copy) converter — the two functions were identical except for the converter passed. Have ImportMedia's switch select the converter (with a verbatim-copy closure for photos) and call convertAndWrite once, removing the duplicated open/defer-close/WriteConverted block. No behavior change. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Reviewed-on: https://codeberg.org/mtlynch/little-moments/pulls/269