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

Method read_optional_set_id

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

Source from the content-addressed store, hash-verified

1011 }
1012
1013 fn read_optional_set_id(&mut self) -> Result<Option<SetId>, OperationCodecError> {
1014 if self.read_optional_tag("set ID")? {
1015 Ok(Some(self.read_set_id()?))
1016 } else {
1017 Ok(None)
1018 }
1019 }
1020
1021 fn read_optional_working_copy(&mut self) -> Result<Option<WorkingCopyId>, OperationCodecError> {
1022 if self.read_optional_tag("working copy")? {

Callers 1

read_view_stateMethod · 0.80

Calls 2

read_optional_tagMethod · 0.80
read_set_idMethod · 0.80

Tested by

no test coverage detected