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

Method put_git_index

atomic-core/src/operation/codec.rs:626–633  ·  view source on GitHub ↗
(&mut self, state: &GitIndexState)

Source from the content-addressed store, hash-verified

624 }
625
626 fn put_git_index(&mut self, state: &GitIndexState) -> Result<(), OperationCodecError> {
627 self.put_hash(state.digest)?;
628 self.put_optional_tag(state.tree.is_some())?;
629 if let Some(tree) = &state.tree {
630 self.put_git_object_id(tree)?;
631 }
632 Ok(())
633 }
634
635 fn put_git_ref_target(&mut self, target: &GitRefTarget) -> Result<(), OperationCodecError> {
636 match target {

Callers 2

put_git_stateMethod · 0.80
put_effect_valueMethod · 0.80

Calls 3

put_hashMethod · 0.80
put_optional_tagMethod · 0.80
put_git_object_idMethod · 0.80

Tested by

no test coverage detected