Commit a snapshot Commit the given data. The commit is derived from the current head.
The data to commit
The hash value of the commit
Create a commit with the given targets and data This method creates a commit with multiple parents. In most cases, it is easier to use the commit() method.
The hashes of the parent commits
The data to commit
The hash value of the commit
Find the ancestor commit hashes within the target and the base
The hash of the target commit
The hash of the base commit
An array of hash values of the ancestor commits
Get the data of a snapshot by its hash
The hash of the snapshot
The data of the snapshot
Get the data of a snapshot by the commit hash
The hash of the commit
The data of the snapshot
Verify all snapshots and commits in the repository
This is equivalent to git fsck
in Git
if any snapshot or commit is invalid, this method returns false
True if all snapshots and commits are valid
Static
create
Core class