compat/fsmonitor/fsm-listen-darwin: stub in backend for Darwin

Stub in empty implementation of fsmonitor--daemon
backend for Darwin (aka MacOS).

Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Jeff Hostetler
2022-03-25 18:02:52 +00:00
committed by Junio C Hamano
parent 62c7367133
commit f67df2556f
3 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,20 @@
#include "cache.h"
#include "fsmonitor.h"
#include "fsm-listen.h"
int fsm_listen__ctor(struct fsmonitor_daemon_state *state)
{
return -1;
}
void fsm_listen__dtor(struct fsmonitor_daemon_state *state)
{
}
void fsm_listen__stop_async(struct fsmonitor_daemon_state *state)
{
}
void fsm_listen__loop(struct fsmonitor_daemon_state *state)
{
}