Skip to main content

migrate_sha256_media

Function migrate_sha256_media 

Source
pub(crate) async fn migrate_sha256_media(services: &Services) -> Result
Expand description

Migrates a media directory from legacy base64 file names to sha2 file names.

All errors are fatal. The caller stamps the database only once this succeeds, so a pass that fails runs again on the next boot.