(&mut self, old_path: &Rc<Path>, new_path: &Rc<Path>)
| 196 | } |
| 197 | |
| 198 | pub fn rename(&mut self, old_path: &Rc<Path>, new_path: &Rc<Path>) { |
| 199 | if self.contains(old_path) { |
| 200 | self.assign_var(new_path.clone(), old_path.clone()); |
| 201 | self.forget(old_path); |
| 202 | } |
| 203 | } |
| 204 | |
| 205 | pub fn duplicate(&mut self, old_path: &Rc<Path>, new_path: &Rc<Path>) { |
| 206 | if self.contains(old_path) { |
nothing calls this directly
no test coverage detected