MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / profile_diagnostics_have_errors

Function profile_diagnostics_have_errors

crates/openshell-cli/src/run.rs:5563–5567  ·  view source on GitHub ↗
(diagnostics: &[ProviderProfileDiagnostic])

Source from the content-addressed store, hash-verified

5561}
5562
5563fn profile_diagnostics_have_errors(diagnostics: &[ProviderProfileDiagnostic]) -> bool {
5564 diagnostics
5565 .iter()
5566 .any(|diagnostic| diagnostic.severity == "error")
5567}
5568
5569fn display_provider_category(category: i32) -> &'static str {
5570 match ProviderProfileCategory::try_from(category).unwrap_or(ProviderProfileCategory::Other) {

Callers 3

provider_profile_importFunction · 0.85
provider_profile_updateFunction · 0.85
provider_profile_lintFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected