Method GetLastCommit
GetLastCommit(Directory)
Returns the last IndexCommit found in the Directory, or
null
if there are no commits.
Declaration
public static IndexCommit GetLastCommit(Directory directory)
Parameters
Type | Name | Description |
---|---|---|
Directory | directory |
Returns
Type | Description |
---|---|
IndexCommit |