mirror of
https://github.com/git/git
synced 2024-08-28 12:09:19 +00:00
22 lines
615 B
C
22 lines
615 B
C
![]() |
#ifndef FSMONITOR_SETTINGS_H
|
||
|
#define FSMONITOR_SETTINGS_H
|
||
|
|
||
|
struct repository;
|
||
|
|
||
|
enum fsmonitor_mode {
|
||
|
FSMONITOR_MODE_DISABLED = 0,
|
||
|
FSMONITOR_MODE_HOOK = 1, /* core.fsmonitor=<hook_path> */
|
||
|
FSMONITOR_MODE_IPC = 2, /* core.fsmonitor=<true> */
|
||
|
};
|
||
|
|
||
|
void fsm_settings__set_ipc(struct repository *r);
|
||
|
void fsm_settings__set_hook(struct repository *r, const char *path);
|
||
|
void fsm_settings__set_disabled(struct repository *r);
|
||
|
|
||
|
enum fsmonitor_mode fsm_settings__get_mode(struct repository *r);
|
||
|
const char *fsm_settings__get_hook_path(struct repository *r);
|
||
|
|
||
|
struct fsmonitor_settings;
|
||
|
|
||
|
#endif /* FSMONITOR_SETTINGS_H */
|