package irmin-git
- Overview
- No Docs
You can search for identifiers within the package.
in-package search v0.2.0
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=92a9de7a0a2a35c2feba0c35a806b1f0df24c1c0d15164eebf3f919296d26715
sha512=0203ec5117a851ad5afeb2f9091659b4e142e231b6b945caab93f4d7beb23397c8ac43f7056e91d18f4bff0be1062f6ae966d221f877c229328c0cbbf29fd9f0
doc/irmin-git/Irmin_git/Mem/Value/Commit/index.html
Module Value.CommitSource
val make :
tree:hash ->
author:Git.User.t ->
committer:Git.User.t ->
?parents:hash list ->
?extra:(string * string list) list ->
string option ->
tmake ~author ~committer ?parents ~tree msg makes an OCaml value t. ?parents should be a non-empty list and corresponds to a list of hashes of parent commits. tree should be a hash of a Tree.t object.
Note. This function does not write a new commit on the store and does not check the validity of parents and tree. By this way, this function never fails.
digest t associates a hash to any value of t. It is guaranteed that if x = y or compare x y = 0, then digest x = digest y.
hash blob associates a non-negative integer to any value of t. It is guaranteed that if x = y or compare x y = 0, then hash x = hash y.
Sets and Maps.
committer t returns the committer of the given commit object.
author c returns the author of the given commit object.