Skip to main content

join_folder

Function join_folder 

Source
pub fn join_folder(item: &mut Item, folders: &[Folder], id: &str) -> bool
Expand description

Adds item to folder id as Eagle’s add-to-folder does: when the item is not in the folder yet it joins it, comes out of the Trash and gets the folder’s auto-tags. Returns false, with the item untouched, when it was already in the folder.