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

Function has_errors

crates/openshell-server/src/grpc/provider.rs:1850–1854  ·  view source on GitHub ↗
(diagnostics: &[ProfileValidationDiagnostic])

Source from the content-addressed store, hash-verified

1848}
1849
1850fn has_errors(diagnostics: &[ProfileValidationDiagnostic]) -> bool {
1851 diagnostics
1852 .iter()
1853 .any(|diagnostic| diagnostic.severity == "error")
1854}
1855
1856async fn sandboxes_using_profile(store: &Store, profile_id: &str) -> Result<Vec<String>, Status> {
1857 // Collect all sandboxes that reference at least one provider — pagination

Calls

no outgoing calls

Tested by

no test coverage detected