c9d44bfb

Author: Michael Lynch <git@mtlynch.io>

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

Add typed media root directory (#256)

Require callers to construct a mediastore.MediaRootDir before creating local media sources or writers, avoiding direct assignment to LocalWriter internals.

Provide MediaRootDir.Join so LocalWriter can combine the media root with validated relative output paths without converting both values at the callsite.

Reviewed-on: https://codeberg.org/mtlynch/little-moments/pulls/256
Codeberg
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