1 #ifndef FSMONITOR_SETTINGS_H
2 #define FSMONITOR_SETTINGS_H
7 FSMONITOR_MODE_DISABLED
= 0,
8 FSMONITOR_MODE_HOOK
= 1, /* core.fsmonitor=<hook_path> */
9 FSMONITOR_MODE_IPC
= 2, /* core.fsmonitor=<true> */
12 void fsm_settings__set_ipc(struct repository
*r
);
13 void fsm_settings__set_hook(struct repository
*r
, const char *path
);
14 void fsm_settings__set_disabled(struct repository
*r
);
16 enum fsmonitor_mode
fsm_settings__get_mode(struct repository
*r
);
17 const char *fsm_settings__get_hook_path(struct repository
*r
);
19 struct fsmonitor_settings
;
21 #endif /* FSMONITOR_SETTINGS_H */