MCPcopy Create free account
hub / github.com/dada-lang/dada / root_data

Function root_data

components/dada-debug/src/root.rs:42–45  ·  view source on GitHub ↗
(state: &State)

Source from the content-addressed store, hash-verified

40}
41
42pub async fn root_data(state: &State) -> anyhow::Result<Vec<RootEvent>> {
43 let events = state.debug_events.lock().unwrap();
44 root_events(&events)
45}
46
47fn root_events(events: &[Arc<DebugEvent>]) -> anyhow::Result<Vec<RootEvent>> {
48 let mut output = Vec::with_capacity(events.len());

Callers 1

eventsFunction · 0.85

Calls 1

root_eventsFunction · 0.85

Tested by

no test coverage detected