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

Function input

atomic-repository/src/repository/projection_commit.rs:720–736  ·  view source on GitHub ↗
(
        message: &str,
        state: Merkle,
        author: ProjectionAuthor,
        timestamp: i64,
    )

Source from the content-addressed store, hash-verified

718 }
719
720 fn input(
721 message: &str,
722 state: Merkle,
723 author: ProjectionAuthor,
724 timestamp: i64,
725 ) -> ProjectionCommitInput {
726 ProjectionCommitInput {
727 message: message.to_string(),
728 set_id: SetId::ZERO,
729 state,
730 binding_id: None,
731 conflict_set_hash: None,
732 author,
733 timestamp,
734 timestamp_offset: 0,
735 }
736 }
737
738 fn raw_bytes_of(git: &git2::Repository, oid: git2::Oid) -> Vec<u8> {
739 let content = object_content_of(git, oid);

Calls

no outgoing calls