You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//delete all files that are the uri or in subdirectory
415
-
let matching_keys:Vec<String> = session.sync_odoo.get_file_mgr().borrow_mut().files.keys().filter(|k| k.starts_with(uri)).cloned().collect();
415
+
let matching_keys:Vec<String> = session.sync_odoo.get_file_mgr().borrow_mut().files.keys().filter(|k| PathBuf::from(k).starts_with(uri)).cloned().collect();
416
416
for key in matching_keys {
417
417
let to_del = session.sync_odoo.get_file_mgr().borrow_mut().files.remove(&key);
for entry in session.sync_odoo.entry_point_mgr.borrow().iter_for_import(session.sync_odoo.entry_point_mgr.borrow().main_entry_point.as_ref().unwrap()){
0 commit comments