[−][src]Function meli::types::create_temp_file
pub fn create_temp_file(
bytes: &[u8],
filename: Option<&str>,
path: Option<&PathBuf>,
delete_on_drop: bool
) -> File
Returned File
will be deleted when dropped if delete_on_drop is set, so make sure to add it on context.temp_files
to reap it later.