pub fn custom_thumbnailed(root: &Path, item: Item, image: &Path) -> Result<Item>Expand description
The file work of crate::Library::set_custom_thumbnail, without the
library: checks image, copies it over the thumbnail of item (in the
library at root) and returns the item as it should be saved. Lets a
caller that shares the library read and write files without holding
its lock.