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

Suite timing

Time to Start Worker time Duration Time to finish
Config 0s 11s 11s 11s
Eval 9s 1m53s 1m53s 2m02s
Build 31s 7m13s 2m04s 2m36s
Deploy 2m36s 36s 38s 3m15s
Suite 0s 9m54s 3m15s 3m15s

Timeline

0s20s40s1m1m20s1m40s2m2m40s3m