[][src]Function memedb_core::write_tags

pub fn write_tags(path: &Path, tags: &HashSet<String>) -> Result<(), Error>

Writes tags to the file at path

Example

let mut tags = HashSet::new();
tags.insert("foo".to_string());
tags.insert("bar".to_string());

write_tags(&Path::new("untagged_meme.png"), &tags)?;