Function download_lp::download
source · pub fn download<P: AsRef<Path>>(
link: &str,
path: P
) -> Result<(String, usize), Error>where
PathBuf: From<P>,
P: Display,
Expand description
No frills downloader.
Pick a link and a path and it will download to that path. Designed to be a super simple way to quickly download a file.AsMut
Uses log so some output is available for debugging purposes.