| 1 |
// This file is @generated by prost-build. |
| 2 |
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)] |
| 3 |
pub struct TreeValue { |
| 4 |
#[prost(oneof = "tree_value::Value", tags = "2, 3, 4")] |
| 5 |
pub value: ::core::option::Option<tree_value::Value>, |
| 6 |
} |
| 7 |
/// Nested message and enum types in `TreeValue`. |
| 8 |
pub mod tree_value { |
| 9 |
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)] |
| 10 |
pub struct File { |
| 11 |
#[prost(bytes = "vec", tag = "1")] |
| 12 |
pub id: ::prost::alloc::vec::Vec<u8>, |
| 13 |
#[prost(bool, tag = "2")] |
| 14 |
pub executable: bool, |
| 15 |
#[prost(bytes = "vec", tag = "3")] |
| 16 |
pub copy_id: ::prost::alloc::vec::Vec<u8>, |
| 17 |
} |
| 18 |
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Oneof)] |
| 19 |
pub enum Value { |
| 20 |
#[prost(message, tag = "2")] |
| 21 |
File(File), |
| 22 |
#[prost(bytes, tag = "3")] |
| 23 |
SymlinkId(::prost::alloc::vec::Vec<u8>), |
| 24 |
#[prost(bytes, tag = "4")] |
| 25 |
TreeId(::prost::alloc::vec::Vec<u8>), |
| 26 |
} |
| 27 |
} |
| 28 |
#[derive(Clone, PartialEq, ::prost::Message)] |
| 29 |
pub struct Tree { |
| 30 |
#[prost(message, repeated, tag = "1")] |
| 31 |
pub entries: ::prost::alloc::vec::Vec<tree::Entry>, |
| 32 |
} |
| 33 |
/// Nested message and enum types in `Tree`. |
| 34 |
pub mod tree { |
| 35 |
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)] |
| 36 |
pub struct Entry { |
| 37 |
#[prost(string, tag = "1")] |
| 38 |
pub name: ::prost::alloc::string::String, |
| 39 |
#[prost(message, optional, tag = "2")] |
| 40 |
pub value: ::core::option::Option<super::TreeValue>, |
| 41 |
} |
| 42 |
} |
| 43 |
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)] |
| 44 |
pub struct Commit { |
| 45 |
#[prost(bytes = "vec", repeated, tag = "1")] |
| 46 |
pub parents: ::prost::alloc::vec::Vec<::prost::alloc::vec::Vec<u8>>, |
| 47 |
#[prost(bytes = "vec", repeated, tag = "2")] |
| 48 |
pub predecessors: ::prost::alloc::vec::Vec<::prost::alloc::vec::Vec<u8>>, |
| 49 |
/// Alternating positive and negative terms |
| 50 |
#[prost(bytes = "vec", repeated, tag = "3")] |
| 51 |
pub root_tree: ::prost::alloc::vec::Vec<::prost::alloc::vec::Vec<u8>>, |
| 52 |
/// Labels for the terms of a conflict. |
| 53 |
#[prost(string, repeated, tag = "10")] |
| 54 |
pub conflict_labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, |
| 55 |
#[prost(bytes = "vec", tag = "4")] |
| 56 |
pub change_id: ::prost::alloc::vec::Vec<u8>, |
| 57 |
#[prost(string, tag = "5")] |
| 58 |
pub description: ::prost::alloc::string::String, |
| 59 |
#[prost(message, optional, tag = "6")] |
| 60 |
pub author: ::core::option::Option<commit::Signature>, |
| 61 |
#[prost(message, optional, tag = "7")] |
| 62 |
pub committer: ::core::option::Option<commit::Signature>, |
| 63 |
#[prost(bytes = "vec", optional, tag = "9")] |
| 64 |
pub secure_sig: ::core::option::Option<::prost::alloc::vec::Vec<u8>>, |
| 65 |
} |
| 66 |
/// Nested message and enum types in `Commit`. |
| 67 |
pub mod commit { |
| 68 |
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)] |
| 69 |
pub struct Timestamp { |
| 70 |
#[prost(int64, tag = "1")] |
| 71 |
pub millis_since_epoch: i64, |
| 72 |
#[prost(int32, tag = "2")] |
| 73 |
pub tz_offset: i32, |
| 74 |
} |
| 75 |
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)] |
| 76 |
pub struct Signature { |
| 77 |
#[prost(string, tag = "1")] |
| 78 |
pub name: ::prost::alloc::string::String, |
| 79 |
#[prost(string, tag = "2")] |
| 80 |
pub email: ::prost::alloc::string::String, |
| 81 |
#[prost(message, optional, tag = "3")] |
| 82 |
pub timestamp: ::core::option::Option<Timestamp>, |
| 83 |
} |
| 84 |
} |