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

Method read_view_state

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

Source from the content-addressed store, hash-verified

1180 }
1181
1182 fn read_view_state(&mut self) -> Result<ViewStateRef, OperationCodecError> {
1183 Ok(ViewStateRef {
1184 name: self.read_string("view name")?,
1185 state: self.read_hash()?,
1186 set_id: self.read_optional_set_id()?,
1187 })
1188 }
1189
1190 fn read_working_copy_state(&mut self) -> Result<WorkingCopyStateRef, OperationCodecError> {
1191 let state = WorkingCopyStateRef {

Callers 1

read_repo_stateMethod · 0.80

Calls 3

read_hashMethod · 0.80
read_optional_set_idMethod · 0.80
read_stringMethod · 0.45

Tested by

no test coverage detected