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

Method put_hash

atomic-core/src/operation/codec.rs:363–365  ·  view source on GitHub ↗
(&mut self, value: Hash)

Source from the content-addressed store, hash-verified

361 }
362
363 fn put_hash(&mut self, value: Hash) -> Result<(), OperationCodecError> {
364 self.put_bytes(value.as_bytes())
365 }
366
367 fn put_set_id(&mut self, value: SetId) -> Result<(), OperationCodecError> {
368 self.put_bytes(value.as_bytes())

Callers 11

encode_operation_payloadFunction · 0.80
put_optional_hashMethod · 0.80
put_metadata_targetMethod · 0.80
put_metadata_valueMethod · 0.80
put_view_stateMethod · 0.80
put_git_stateMethod · 0.80
put_git_indexMethod · 0.80
put_loss_noteMethod · 0.80
put_effect_valueMethod · 0.80
put_file_stateMethod · 0.80

Calls 2

put_bytesMethod · 0.80
as_bytesMethod · 0.45

Tested by

no test coverage detected