Skip to main content

chapter_image_path_is_referenced

Function chapter_image_path_is_referenced 

Source
pub async fn chapter_image_path_is_referenced(
    conn: &mut PgConnection,
    chapter_image_path: &str,
) -> ModelResult<bool>
Expand description

Whether a live chapter still uses this image path.

Course copies share images with their source, so check this before deleting the blob.