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

Method read_optional_working_copy

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

Source from the content-addressed store, hash-verified

1019 }
1020
1021 fn read_optional_working_copy(&mut self) -> Result<Option<WorkingCopyId>, OperationCodecError> {
1022 if self.read_optional_tag("working copy")? {
1023 Ok(Some(self.read_working_copy()?))
1024 } else {
1025 Ok(None)
1026 }
1027 }
1028
1029 fn read_operation_kind(
1030 &mut self,

Callers 3

decode_operationFunction · 0.80
read_effect_targetMethod · 0.80

Calls 2

read_optional_tagMethod · 0.80
read_working_copyMethod · 0.80

Tested by

no test coverage detected