Explorer

core.event-check-state

description
What the server knows before accepting an event. For a project commit: the latest commit of the branch (none if the branch is new), whether the account created the branch, whether merged_commit_hash is a commit of the project, the module names of the commit that belong to other projects, whether parent_commit_hash is a commit of the project, and whether the project has any commit. See docs/project.md and docs/branch.md
type
Type
expression
Record{
  account_created: Boolean,
  branch_latest_commit_hash: Union{#none, #some(String)},
  is_branch_creator: Boolean,
  merged_in_project: Boolean,
  modules_in_other_projects: List<String>,
  parent_in_project: Boolean,
  project_has_commits: Boolean
}
visibility
public
core.event-check-state (project definy, branch compiled-tests, snapshot i6TqClmqVS9FK8rKOvJ43l6Tevx8pvYJ5-zaQqNwemc)
id: V_whbXqqoq5KzdbT7uS5cGWL76r4VFDFCnbEMIobb7s
content hash: zpbQjHAro1loImeQoUgQKE-x06r46pkQeRV9ZeUOjn8