MCPcopy Create free account
hub / github.com/git/git / stop_fsmonitor_daemon

Function stop_fsmonitor_daemon

scalar.c:269–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267}
268
269static int stop_fsmonitor_daemon(void)
270{
271 ASSERT(have_fsmonitor_support());
272
273 if (fsmonitor_ipc__get_state() == IPC_STATE__LISTENING)
274 return run_git("fsmonitor--daemon", "stop", NULL);
275
276 return 0;
277}
278
279/**
280 * Register the current directory as a Scalar enlistment, and set the

Callers 1

delete_enlistmentFunction · 0.85

Calls 3

have_fsmonitor_supportFunction · 0.85
fsmonitor_ipc__get_stateFunction · 0.85
run_gitFunction · 0.85

Tested by

no test coverage detected