MCPcopy Create free account
hub / github.com/MultiFuzz/MultiFuzz / relative_path

Method relative_path

icicle-cortexm/src/config.rs:134–136  ·  view source on GitHub ↗
(&self, path: &Path)

Source from the content-addressed store, hash-verified

132
133impl FirmwareConfig {
134 pub fn relative_path(&self, path: &Path) -> PathBuf {
135 self.path.parent().unwrap_or(Path::new(".")).join(path)
136 }
137
138 pub fn from_env() -> anyhow::Result<Self> {
139 // Note: we fallback to trying to find a config file called `FUZZWARE_CONFIG` for

Callers 1

fuzzware_initMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected