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

Method get_library_data_dir

src/deopt.rs:167–172  ·  view source on GitHub ↗

get the data directory of the library under test.

(&self)

Source from the content-addressed store, hash-verified

165
166 /// get the data directory of the library under test.
167 pub fn get_library_data_dir(&self) -> Result<PathBuf> {
168 let data_dir: PathBuf = [Deopt::get_crate_dir()?, "libraries", &self.project_name]
169 .iter()
170 .collect();
171 Ok(data_dir)
172 }
173
174 /// the the build directory of the library under test.
175 pub fn get_library_build_dir(&self) -> Result<PathBuf> {

Callers 3

parse_configFunction · 0.80
parse_lib_configMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected