github.com/mutagen-io/mutagen@v0.18.0-rc1/pkg/synchronization/watch_mode.proto (about)

     1  syntax = "proto3";
     2  
     3  package synchronization;
     4  
     5  option go_package = "github.com/mutagen-io/mutagen/pkg/synchronization";
     6  
     7  // WatchMode specifies the mode for filesystem watching.
     8  enum WatchMode {
     9      // WatchMode_WatchModeDefault represents an unspecified watch mode. It
    10      // should be converted to one of the following values based on the desired
    11      // default behavior.
    12      WatchModeDefault = 0;
    13      // WatchMode_WatchModePortable specifies that native recursive watching
    14      // should be used to monitor paths on systems that support it if those paths
    15      // fall under the home directory. In these cases, a watch on the entire home
    16      // directory is established and filtered for events pertaining to the
    17      // specified path. On all other systems and for all other paths, poll-based
    18      // watching is used.
    19      WatchModePortable = 1;
    20      // WatchMode_WatchModeForcePoll specifies that only poll-based watching
    21      // should be used.
    22      WatchModeForcePoll = 2;
    23      // WatchMode_WatchModeNoWatch specifies that no watching should be used
    24      // (i.e. no events should be generated).
    25      WatchModeNoWatch = 3;
    26  }