(&mut self)
| 1402 | } |
| 1403 | |
| 1404 | fn read_verification_scope(&mut self) -> Result<VerificationScope, OperationCodecError> { |
| 1405 | match self.read_u8()? { |
| 1406 | 0 => Ok(VerificationScope::Filesystem), |
| 1407 | 1 => Ok(VerificationScope::Git), |
| 1408 | 2 => Ok(VerificationScope::Repository), |
| 1409 | 3 => Ok(VerificationScope::Complete), |
| 1410 | tag => Err(OperationCodecError::new(format!( |
| 1411 | "unsupported verification scope tag {tag}" |
| 1412 | ))), |
| 1413 | } |
| 1414 | } |
| 1415 | |
| 1416 | fn read_optional_effect_value(&mut self) -> Result<Option<EffectValue>, OperationCodecError> { |
| 1417 | if self.read_optional_tag("effect value")? { |
no test coverage detected