Debian Codegraph @

lib/src/protos/default_index.proto

raw
1 // Copyright 2025 The Jujutsu Authors
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // https://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 syntax = "proto3";
16
17 package default_index;
18
19 // Control file to link operation to index segments.
20 message SegmentControl {
21 // Hash (or file name) of the commit index segment.
22 bytes commit_segment_id = 1;
23 // First commit stored in the changed-path index segments. Unset if
24 // changed-path index is disabled.
25 optional uint32 changed_path_start_commit_pos = 2;
26 // Hashes (or file names) of the changed-path index segments.
27 repeated bytes changed_path_segment_ids = 3;
28 }