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

Method put_verification_scope

atomic-core/src/operation/codec.rs:766–776  ·  view source on GitHub ↗
(
        &mut self,
        scope: VerificationScope,
    )

Source from the content-addressed store, hash-verified

764 }
765
766 fn put_verification_scope(
767 &mut self,
768 scope: VerificationScope,
769 ) -> Result<(), OperationCodecError> {
770 self.put_u8(match scope {
771 VerificationScope::Filesystem => 0,
772 VerificationScope::Git => 1,
773 VerificationScope::Repository => 2,
774 VerificationScope::Complete => 3,
775 })
776 }
777
778 fn put_optional_effect_value(
779 &mut self,

Callers 1

put_effect_targetMethod · 0.80

Calls 1

put_u8Method · 0.80

Tested by

no test coverage detected