sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
type hash = hash
type nonrec t = hash Git.Value.t
OCaml value which represents a Git object.
module Blob : Git.Blob.S with type hash = hash
module Commit : Git.Commit.S with type hash = hash
module Tree : Git.Tree.S with type hash = hash
val kind : t -> [ `Commit | `Blob | `Tree | `Tag ]
kind o
returns the kind of the Git object.
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
.
val hash : t -> int
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
.
val length : t -> int64
val length_with_header : t -> int64
length_with_header t
is length t
plus the length of the header.
val to_raw : t -> string
val to_raw_without_header : t -> string