Create a new changelist entry.
(
sequence: u64,
hash: impl Into<String>,
merkle: impl Into<String>,
tagged: bool,
)
| 164 | impl ChangelistEntry { |
| 165 | /// Create a new changelist entry. |
| 166 | pub fn new( |
| 167 | sequence: u64, |
| 168 | hash: impl Into<String>, |
| 169 | merkle: impl Into<String>, |
| 170 | tagged: bool, |
| 171 | ) -> Self { |
| 172 | Self { |
| 173 | sequence, |
| 174 | hash: hash.into(), |
| 175 | merkle: merkle.into(), |
| 176 | tagged, |
| 177 | } |
| 178 | } |
| 179 | |
| 180 | /// Parse a changelist entry from the protocol format. |
| 181 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected