Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/compat/fsmonitor/fsm-health-linux.c # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / compat / fsmonitor / fsm-health-linux.c` 33 lines ยท 775 bytes Raw Blame History 1 #include "git-compat-util.h" 2 #include "config.h" 3 #include "fsmonitor-ll.h" 4 #include "fsm-health.h" 5 #include "fsmonitor--daemon.h" 6 7 /* 8 * The Linux fsmonitor implementation uses inotify which has its own 9 * mechanisms for detecting filesystem unmount and other events that 10 * would require the daemon to shutdown. Therefore, we don't need 11 * a separate health thread like Windows does. 12 * 13 * These stub functions satisfy the interface requirements. 14 */ 15 16 int fsm_health__ctor(struct fsmonitor_daemon_state *state UNUSED) 17 { 18 return 0; 19 } 20 21 void fsm_health__dtor(struct fsmonitor_daemon_state *state UNUSED) 22 { 23 return; 24 } 25 26 void fsm_health__loop(struct fsmonitor_daemon_state *state UNUSED) 27 { 28 return; 29 } 30 31 void fsm_health__stop_async(struct fsmonitor_daemon_state *state UNUSED) 32 { 33 }