package irmin-git
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Git backend for Irmin
Install
dune-project
Dependency
Authors
Maintainers
Sources
irmin-3.6.1.tbz
sha256=11fc2570bdbfd48478c89113fc801084a84a9a2c12d9bf8c64e05ce64ae19bd7
sha512=2171699ca24dec5c9c908a2676b272e034c14eb17f7052a794535e52af0be40be68a689e59c0a640ee244b11703320483f4d0c261542e6242ba23a8f1272b9b0
doc/irmin-git.unix/Irmin_git_unix/Maker/argument-1-G/Value/Blob/index.html
Module Value.Blob
type hash = hashtype nonrec t = Git.Blob.tdigest 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 -> inthash 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.
val length : t -> int64of_cstruct cs is the blob from the given Cstruct.t cs. This function does not take the ownership on cs.
Note. If the user set the given cs, it updates the blob too. This function does not copy the given Cstruct.t.
let cs = Cstruct.of_string "Hello" in
let blob = Blob.of_cstruct cs in
Blob.digest blob ;;
- : hash = 5ab2f8a4323abafb10abb68657d9d39f1a775057
Cstruct.set_char cs 0 'V' ;;
- : unit = ()
Blob.digest blob ;;
- : hash = 4081c40614b490bea69ea2ed8fdfdb86f04b5579val of_string : string -> tof_string str is the blob from the given string str.
Note. Despite of_cstruct, of_string does a copy of the given string.
val to_string : t -> stringto_string blob is the string from the given blob.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page