Skip to main content

extract_file

Function extract_file 

Source
pub async fn extract_file(file: File) -> String
Expand description

The text of a stored PDF; empty if it has none or cannot be read (a scanned or damaged file never fails an upload). The opened file is handed to the child on its standard input and the text comes back on its standard output, so no path travels anywhere.