File: packfile.proto

package info (click to toggle)
gitlab-shell 14.35.0%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 23,652 kB
  • sloc: ruby: 1,129; makefile: 583; sql: 391; sh: 384
file content (26 lines) | stat: -rw-r--r-- 1,008 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
syntax = "proto3";

package gitaly;

option go_package = "gitlab.com/gitlab-org/gitaly/v16/proto/go/gitalypb";

// PackfileNegotiationStatistics represents the git packfile negotiation.
message PackfileNegotiationStatistics {
  // PayloadSize is the total size of all pktlines' payload in bytes. This excludes the pktline prefix.
  int64 payload_size = 1;
  // Packets is the total number of packets.
  int64 packets = 2;
  // Caps is the capabilities announced by the client.
  repeated string caps = 3;
  // Wants is the number of objects the client announced it wants.
  int64 wants = 4;
  // Haves is the number of objects the client announced it has.
  int64 haves = 5;
  // Shallows is the number of shallow boundaries announced by the client.
  int64 shallows = 6;
  // Deepen is one of "deepen <depth>", "deepen-since <timestamp>", "deepen-not <ref>".
  // [deepen <depth>|deepen-since <timestamp>|deepen-not <ref>]
  string deepen = 7;
  // Filter is specified by the client.
  string filter = 8;
}