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

Function profile_file_diagnostic

crates/openshell-cli/src/run.rs:5526–5534  ·  view source on GitHub ↗
(source: &str, message: String)

Source from the content-addressed store, hash-verified

5524}
5525
5526fn profile_file_diagnostic(source: &str, message: String) -> ProviderProfileDiagnostic {
5527 ProviderProfileDiagnostic {
5528 source: source.to_string(),
5529 profile_id: String::new(),
5530 field: "file".to_string(),
5531 message,
5532 severity: "error".to_string(),
5533 }
5534}
5535
5536fn print_profile_diagnostics(diagnostics: &[ProviderProfileDiagnostic]) {
5537 if diagnostics.is_empty() {

Callers 1

load_profile_import_itemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected