Skip to main content

fetch_to_file

Function fetch_to_file 

Source
pub async fn fetch_to_file(url: &str, job_dir: &Path) -> Result<PathBuf>
Expand description

Fetch url into job_dir/fetched/, returning the file’s path.