Function memedb_core::write_tags
source · pub fn write_tags(
src: &mut (impl Read + BufRead + Seek),
dest: &mut impl Write,
tags: impl IntoIterator<Item = impl AsRef<str>>
) -> Result<Option<()>, Error>
Expand description
Read data from src
, set the provided tags
, and write to dest
This function will remove any tags that previously existed in the source.
This function operates by first calling identify_format
, and then calling the corresponding
write_tags
function if successful.