Skip to content

Commit

Permalink
reverting to "its index of the commit hash"
Browse files Browse the repository at this point in the history
  • Loading branch information
christinerose authored Sep 23, 2024
1 parent d3e9199 commit eaad143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/irmin-pack/design/lower_layer.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ To successfully go from commit hash to data, we need to answer the following que

**Upper Layer**

The starting point for finding a commit in `irmin-pack` is to lookup its key in the index. Assuming the store has a record in its commit hash's index, the key will provide a global offset for finding the commit. Lets call this simply `offset`.
The starting point for finding a commit in `irmin-pack` is to lookup its key in the index. Assuming the store has a record in its index of the commit hash, the key will provide a global offset for finding the commit. Lets call this simply `offset`.

In Irmin 3.5, the control file value `suffix_start_offset` is used to determine whether the offset should be looked up in the prefix (`offset < suffix_start_offset`) or the suffix (`offset >= suffix_start_offset`). We only need to consider the prefix case when considering how to route reads to the lower layer.

Expand Down

0 comments on commit eaad143

Please sign in to comment.