Skip to main content

create_preview

Function create_preview 

Source
pub fn create_preview(
    path: &Path,
    original: &str,
    transformed: &str,
    config: PreviewConfig,
) -> Result<FilePreview>