<commit_before>package proto;

// see doc/proto.md
message Request {
  required int32 tag = 1;

  enum Verb {
      GET      = 1;
      SET      = 2;
      DEL      = 3;
      ESET     = 4;
      REV      = 5;
      NOP      = 7;
      WATCH    = 8;
      WALK     = 9;
      CANCEL   = 10;
      GETDIR   = 14;
      STAT     = 16;
  }
  required Verb verb = 2;

  optional string path = 4;
  optional bytes value = 5;
  optional int32 other_tag = 6;

  optional int32 offset = 7;
  optional int32 limit = 8;

  optional int64 rev = 9;
}

// see doc/proto.md
message Response {
  required int32 tag = 1;
  required int32 flags = 2;

  optional int64 rev = 3;
  optional string path = 5;
  optional bytes value = 6;
  optional int32 len = 8;

  enum Err {
    // don't use value 0
    OTHER        = 127;
    TAG_IN_USE   = 1;
    UNKNOWN_VERB = 2;<commit_msg>proto: no required fields<commit_after>package proto;

// see doc/proto.md
message Request {
  optional int32 tag = 1;

  enum Verb {
      GET      = 1;
      SET      = 2;
      DEL      = 3;
      ESET     = 4;
      REV      = 5;
      NOP      = 7;
      WATCH    = 8;
      WALK     = 9;
      CANCEL   = 10;
      GETDIR   = 14;
      STAT     = 16;
  }
  optional Verb verb = 2;

  optional string path = 4;
  optional bytes value = 5;
  optional int32 other_tag = 6;

  optional int32 offset = 7;
  optional int32 limit = 8;

  optional int64 rev = 9;
}

// see doc/proto.md
message Response {
  optional int32 tag = 1;
  optional int32 flags = 2;

  optional int64 rev = 3;
  optional string path = 5;
  optional bytes value = 6;
  optional int32 len = 8;

  enum Err {
    // don't use value 0
    OTHER        = 127;
    TAG_IN_USE   = 1;
    UNKNOWN_VERB = 2;
{'fraction_non_alphanumeric': 0.0894919168591224, 'fraction_numerical': 0.06004618937644342, 'mean_word_length': 1.6498470948012232, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3793063', 'n_tokens_mistral': 709, 'n_tokens_neox': 599, 'n_words': 206}