Merge branch 'ah/rebase-keep-base-fix' into maint
[alt-git.git] / fsmonitor-settings.h
bloba4c5d7b48891fe6d6bb3705fe1107fcae8e9dc29
1 #ifndef FSMONITOR_SETTINGS_H
2 #define FSMONITOR_SETTINGS_H
4 struct repository;
6 enum fsmonitor_mode {
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 */