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

Method put_checkpoint_kind

atomic-core/src/operation/codec.rs:758–764  ·  view source on GitHub ↗
(&mut self, kind: CheckpointKind)

Source from the content-addressed store, hash-verified

756 }
757
758 fn put_checkpoint_kind(&mut self, kind: CheckpointKind) -> Result<(), OperationCodecError> {
759 self.put_u8(match kind {
760 CheckpointKind::Bridge => 0,
761 CheckpointKind::WorkingCopyCompatibility => 1,
762 CheckpointKind::Recovery => 2,
763 })
764 }
765
766 fn put_verification_scope(
767 &mut self,

Callers 1

put_effect_targetMethod · 0.80

Calls 1

put_u8Method · 0.80

Tested by

no test coverage detected