MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / read_set_id

Method read_set_id

atomic-core/src/operation/codec.rs:975–977  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

973 }
974
975 fn read_set_id(&mut self) -> Result<SetId, OperationCodecError> {
976 Ok(SetId::from_bytes(self.read_exact()?))
977 }
978
979 fn read_operation_id(&mut self) -> Result<OperationId, OperationCodecError> {
980 Ok(OperationId::from_bytes(self.read_exact()?))

Callers 1

read_optional_set_idMethod · 0.80

Calls 1

read_exactMethod · 0.45

Tested by

no test coverage detected