e4dfaf96

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
configuredeploy:deploy-to-flydevShellbackendbackend-devcheck-bashcheck-frontendcheck-go-formattingcheck-go-test-packagescheck-trailing-newlinecheck-trailing-whitespacedeploy-to-flydiagramdocker-imagee2e-testsgo-testsimport-from-tinybeanslint-sqllittle-momentslittle-moments-devx86_64-linux