Loading crates/arti/src/arti-example-config.toml +1 −0 Original line number Diff line number Diff line Loading @@ -97,6 +97,7 @@ # (This is not the default.) # # ignore_prefix = "/home/" #ignore_prefix = "" # Replacement values for consensus parameters. This is an advanced option # and you probably should leave it alone. Not all parameters are supported. Loading crates/fs-mistrust/src/lib.rs +1 −0 Original line number Diff line number Diff line Loading @@ -358,6 +358,7 @@ pub struct Mistrust { #[allow(clippy::option_option)] fn canonicalize_opt_prefix(prefix: &Option<Option<PathBuf>>) -> Result<Option<PathBuf>> { match prefix { Some(Some(path)) if path.as_os_str().is_empty() => Ok(None), Some(Some(path)) => Ok(Some( path.canonicalize() .map_err(|e| Error::inspecting(e, path))?, Loading Loading
crates/arti/src/arti-example-config.toml +1 −0 Original line number Diff line number Diff line Loading @@ -97,6 +97,7 @@ # (This is not the default.) # # ignore_prefix = "/home/" #ignore_prefix = "" # Replacement values for consensus parameters. This is an advanced option # and you probably should leave it alone. Not all parameters are supported. Loading
crates/fs-mistrust/src/lib.rs +1 −0 Original line number Diff line number Diff line Loading @@ -358,6 +358,7 @@ pub struct Mistrust { #[allow(clippy::option_option)] fn canonicalize_opt_prefix(prefix: &Option<Option<PathBuf>>) -> Result<Option<PathBuf>> { match prefix { Some(Some(path)) if path.as_os_str().is_empty() => Ok(None), Some(Some(path)) => Ok(Some( path.canonicalize() .map_err(|e| Error::inspecting(e, path))?, Loading