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

Function notify_hook_event

src/daemon.rs:267–273  ·  view source on GitHub ↗
(project_path: &Path, event: DaemonHookEvent)

Source from the content-addressed store, hash-verified

265
266#[cfg(unix)]
267pub async fn notify_hook_event(project_path: &Path, event: DaemonHookEvent) {
268 let _ = timeout(
269 HOOK_EVENT_NOTIFY_TIMEOUT,
270 notify_hook_event_inner(project_path, event),
271 )
272 .await;
273}
274
275#[cfg(unix)]
276async fn notify_hook_event_inner(project_path: &Path, event: DaemonHookEvent) {

Calls 9

notify_hook_event_innerFunction · 0.85
current_branchFunction · 0.85
hook_marker_fileFunction · 0.85
sync_if_stale_silentMethod · 0.80
as_strMethod · 0.45
is_emptyMethod · 0.45

Tested by

no test coverage detected