Struct git_commitgraph::file::commit::Commit [−][src]
pub struct Commit<'a> { /* fields omitted */ }
Expand description
A commit as stored in a File
.
Implementations
Returns the committer timestamp of this commit.
The value is the number of seconds since 1970-01-01 00:00:00 UTC.
Returns the generation number of this commit.
Commits without parents have generation number 1. Commits with parents have a generation number that is the max of their parents’ generation numbers + 1.
Returns an iterator over the parent positions for lookup in the owning Graph.
Returns the first parent of this commit.
Returns the position at which this commit is stored in the parent File.
Return the hash of the tree this commit points to.