# Functions
CheckAnnotatedTag validates an annotated tag.
CheckCommit validates a commit repo: The target repo commit: The target commit object txDetail: The push transaction detail getPushKey: Getter function for fetching push public key.
CheckCommonPostBody performs sanity checks on common fields of a post body.
CheckEndorsement performs sanity and state consistency checks on the given Endorsement object.
CheckEndorsementConsistency performs consistency checks on the given Endorsement object against the current state of the network.
CheckEndorsementConsistencyUsingHost performs consistency checks on the given push endorsement object against the current state of the network.
CheckEndorsementSanity performs sanity checks on the given Endorsement object.
CheckIssuePostBody performs sanity checks on fields of an issue post body.
CheckMergeCompliance checks whether the change satisfies the given merge proposal.
CheckMergeProposalID performs sanity checks on merge proposal ID.
CheckMergeRequestPostBody performs sanity and consistency checks on post fields specific to a merge request.
CheckMergeRequestPostBodyConsistency performs consistency checks on fields of a merge request post body against the network state.
CheckNote validates a note.
CheckPostBody checks whether the front matter and content extracted from a post body is ok.
CheckPostCommit validates new commits of a post reference.
CheckPushedReferenceConsistency validates pushed references.
CheckPushNote performs validation checks on a push transaction.
CheckPushNoteConsistency performs consistency checks against the state of the repository as seen by the node.
CheckPushNoteSanity performs syntactic checks on the fields of a push transaction.
CheckTxDetail performs sanity and consistency checks on a transaction's parameters.
CheckTxDetailConsistency performs consistency checks on a transaction's parameters.
CheckTxDetailSanity performs sanity checks on a transaction's parameters.
GetTxDetailsFromNote creates a slice of TxDetail objects from a push note.
IsBlockedByScope checks whether the given tx parameter satisfy a given scope.
ValidateChange validates a change to a repository repo: The target repository oldHash: The hash of the old reference change: The change to the reference txDetail: The pusher transaction detail getPushKey: Getter function for reading push key public key.
ValidatePostCommit validate a pushed post commit.
# Variables
No description provided by the author
No description provided by the author
8KB.
No description provided by the author
# Structs
No description provided by the author
CheckPostCommitArgs includes arguments for CheckPostCommit function.
RefMismatchErr describe a reference mismatch error.
ValidatePostCommitArg contains arguments for ValidatePostCommit.
# Type aliases
No description provided by the author
CheckEndorsementFunc describes a function for validating a push endorsement.
CheckPushNoteFunc describes a function for checking a push note.
CommitChecker describes a function for checking a standard commit.
No description provided by the author
PostCommitChecker describes a function for validating a post commit.
TxDetailChecker describes a function for checking a transaction detail.