pub struct CommitNode {
pub id: String,
pub message: String,
pub author: String,
pub date: chrono::DateTime<chrono::Utc>,
pub parents: Vec<String>,
pub children: Vec<String>,
pub selected: bool,
}
pub struct CommitTree {
pub commits: Vec<CommitNode>,
pub roots: Vec<String>,
pub selected: Option<String>,
}
pub fn create_commit_tree(_repo_path: &str) -> anyhow::Result<CommitTree> {
todo!("Implement commit tree creation")
}
pub fn render_commit_tree(_tree: &CommitTree) -> anyhow::Result<()> {
todo!("Implement commit tree rendering")
}