mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
dag: fix segment format comment
Summary: The first byte is the flag. Reviewed By: sfilipco Differential Revision: D26654640 fbshipit-source-id: 4d66f14c73fe40a154ca7c08f9a9dff3a54ae337
This commit is contained in:
parent
52a1c515a8
commit
7684e79be6
@ -39,7 +39,7 @@ pub struct Segment(pub(crate) Bytes);
|
||||
// Serialization format for Segment:
|
||||
//
|
||||
// ```plain,ignore
|
||||
// SEGMENT := LEVEL (1B) + HIGH (8B) + vlq(HIGH-LOW) + vlq(PARENT_COUNT) + vlq(VLQ, PARENTS)
|
||||
// SEGMENT := FLAG (1B) + LEVEL (1B) + HIGH (8B) + vlq(HIGH-LOW) + vlq(PARENT_COUNT) + vlq(VLQ, PARENTS)
|
||||
// ```
|
||||
//
|
||||
// The reason HIGH is not stored in VLQ is because it's used by range lookup,
|
||||
|
Loading…
Reference in New Issue
Block a user