MCPcopy Create free account
hub / github.com/FuzzAnything/PromptFuzz / get_seed_path_by_id

Method get_seed_path_by_id

src/deopt.rs:466–475  ·  view source on GitHub ↗
(&self, id: usize)

Source from the content-addressed store, hash-verified

464 }
465
466 pub fn get_seed_path_by_id(&self, id: usize) -> Result<PathBuf> {
467 let seed_dir = self.get_library_seed_dir()?;
468 let seed_path: PathBuf = [
469 seed_dir,
470 format!("id_{number:>0width$}.cc", number = id, width = 6).into(),
471 ]
472 .iter()
473 .collect();
474 Ok(seed_path)
475 }
476
477 pub fn get_succ_seed_path_by_id(&self, id: usize) -> Result<PathBuf> {
478 let seed_dir = self.get_library_succ_seed_dir()?;

Callers 3

save_programMethod · 0.80
minimizeFunction · 0.80
recheck_seedMethod · 0.80

Calls 1

get_library_seed_dirMethod · 0.80

Tested by

no test coverage detected