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

Method duplicate

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

Source from the content-addressed store, hash-verified

203 }
204
205 pub fn duplicate(&mut self, old_path: &Rc<Path>, new_path: &Rc<Path>) {
206 if self.contains(old_path) {
207 self.assign_var(new_path.clone(), old_path.clone());
208 }
209 }
210
211 pub fn get_paths_iter(&self) -> Vec<Rc<Path>> {
212 self.intervals.keys().cloned().collect()

Callers

nothing calls this directly

Calls 2

assign_varMethod · 0.80
containsMethod · 0.45

Tested by

no test coverage detected