MCPcopy Create free account
hub / github.com/Rust-API/Rust-API-Bypass-Checker / rename

Method rename

src/analysis/numerical/interval_domain.rs:198–203  ·  view source on GitHub ↗
(&mut self, old_path: &Rc<Path>, new_path: &Rc<Path>)

Source from the content-addressed store, hash-verified

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) {

Callers

nothing calls this directly

Calls 3

assign_varMethod · 0.80
containsMethod · 0.45
forgetMethod · 0.45

Tested by

no test coverage detected