package git-unix
Virtual package to install and configure ocaml-git's Unix backend
Install
Dune Dependency
Authors
Maintainers
Sources
git-3.13.0.tbz
sha256=f7cc36026cdefc1f9837f10d7d26f457c236cb21547fcad210e71483561b55d3
sha512=728f21c3483bdead9420767cb3e57901be1cff428fceb814be3cad817b2d78511d35f559962469e85d3919c59577884d353cb883ac749e6e2b92fb7d0deec4f4
doc/git-unix/Git_unix/Store/Value/Commit/index.html
Module Value.Commit
Source
Source
val make :
tree:hash ->
author:Git.User.t ->
committer:Git.User.t ->
?parents:hash list ->
?extra:(string * string list) list ->
string option ->
t
make ~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.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page