diff options
| author | 2026-03-10 13:30:48 +0800 | |
|---|---|---|
| committer | 2026-03-10 13:30:48 +0800 | |
| commit | 73e602a5c2c766caba59948e91c11122653705ec (patch) | |
| tree | 57951a4275dd90c2b3953e5b4bf3c9a7bd09b84a /commitgraph/bloom/constants.go | |
| parent | *: Move sideband64k and pktline to protocol/ (diff) | |
| signature | No signature | |
commitgraph: Move out of format/
Diffstat (limited to 'commitgraph/bloom/constants.go')
| -rw-r--r-- | commitgraph/bloom/constants.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/commitgraph/bloom/constants.go b/commitgraph/bloom/constants.go new file mode 100644 index 00000000..958e551e --- /dev/null +++ b/commitgraph/bloom/constants.go @@ -0,0 +1,8 @@ +package bloom + +const ( + // DataHeaderSize is the size of the BDAT header in commit-graph files. + DataHeaderSize = 3 * 4 + // DefaultMaxChange matches Git's default max-changed-paths behavior. + DefaultMaxChange = 512 +) |
