{"modulePath":"github.com/raymondji/git-stack-cli","version":"v0.0.0-20250919023704-4e49b115724e","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package commitgraph\n\n## Functions\n\n```go\nfunc IsSink(n Node, dag DAG) bool\n```\n\n```go\nfunc IsSource(n Node, dag DAG) bool\n```\n\n## Types\n\n```go\ntype DAG struct {\n\t// Keys are short commit hashes\n\tNodes map[string]Node\n\t// Keys are children, values are parents\n\tParentEdges map[string]map[string]struct{}\n\t// Keys are parents, values are children\n\tChildrenEdges map[string]map[string]struct{}\n}\n```\n\n```go\nfunc Compute(log libgit.Log) (DAG, error)\n```\n\n```go\ntype Node struct {\n\tAuthor  string\n\tSubject string\n\tDate    string\n\tHash    string\n\t// Sorted in reverse lexicographic order\n\tLocalBranches []string\n}\n```\n\n","path":"github.com/raymondji/git-stack-cli/stackparser/commitgraph","name":"commitgraph","synopsis":"","isRedistributable":true}
