Skip to main content

levi_core/entities/
commit_fact.rs

1use myko::prelude::*;
2
3/// Commit-graph slice: sha -> parent shas. id = commit sha (hex) — content
4/// addressed and immutable (a sha's parents never change), so publication is
5/// idempotent. Lets git-free nodes (the hub) resolve ancestry.
6#[myko_item]
7pub struct CommitFact {
8    pub project_id: String,
9    pub parents: Vec<String>,
10}