MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / files_with_diagnostics

Function files_with_diagnostics

src/dashboard/code_diagnostics_api.rs:214–222  ·  view source on GitHub ↗
(snapshot: &DiagnosticsSnapshot, language: &str)

Source from the content-addressed store, hash-verified

212}
213
214fn files_with_diagnostics(snapshot: &DiagnosticsSnapshot, language: &str) -> usize {
215 snapshot
216 .diagnostics
217 .iter()
218 .filter(|diagnostic| diagnostic.language == language)
219 .map(|diagnostic| diagnostic.file.as_str())
220 .collect::<BTreeSet<_>>()
221 .len()
222}
223
224fn maybe_spawn_idle_backfill(state: &DashboardState, snapshot: &DiagnosticsSnapshot) {
225 if snapshot.settings.idle_backfill != IdleBackfillMode::Idle {

Callers 1

refresh_one_reconciledFunction · 0.85

Calls 1

as_strMethod · 0.45

Tested by

no test coverage detected