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. Upon success the database is keyed to not perform this again.