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

Method get_library_build_dir

src/deopt.rs:175–184  ·  view source on GitHub ↗

the the build directory of the library under test.

(&self)

Source from the content-addressed store, hash-verified

173
174 /// the the build directory of the library under test.
175 pub fn get_library_build_dir(&self) -> Result<PathBuf> {
176 let build_dir: PathBuf = [
177 Deopt::get_crate_build_dir()?,
178 self.config.project_name.clone().into(),
179 ]
180 .iter()
181 .collect();
182 utils::create_dir_if_nonexist(&build_dir)?;
183 Ok(build_dir)
184 }
185
186 /// get the library's gadget path.
187 pub fn get_library_gadget_path(&self) -> Result<PathBuf> {

Calls 1

create_dir_if_nonexistFunction · 0.85

Tested by

no test coverage detected