package opam-core
Core library for opam 2.4
Install
dune-project
Dependency
Authors
-
David Allsopp
-
VVincent Bernardoff <vb@luminar.eu.org>
-
RRaja Boujbel <raja.boujbel@ocamlpro.com>
-
KKate Deplaix <kit-ty-kate@outlook.com>
-
RRoberto Di Cosmo <roberto@dicosmo.org>
-
TThomas Gazagnaire <thomas@gazagnaire.org>
-
LLouis Gesbert <louis.gesbert@ocamlpro.com>
-
FFabrice Le Fessant <Fabrice.Le_fessant@inria.fr>
-
AAnil Madhavapeddy <anil@recoil.org>
-
GGuillem Rieu <guillem.rieu@ocamlpro.com>
-
RRalf Treinen <ralf.treinen@pps.jussieu.fr>
-
FFrederic Tuong <tuong@users.gforge.inria.fr>
Maintainers
Sources
2.4.0.tar.gz
md5=f509aa3ca69423d6f4fc8c703f78a566
sha512=4a52fa74e2a3b975623f6eac169042d1ca9e18ec77693a8f24d0eb59c97737b3bb8e659d609e283c293ce6eef4395a9eda20b317d30a88dfa8b88171694b1660
doc/src/opam-core/opamSHA.ml.html
Source file opamSHA.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
(**************************************************************************) (* *) (* Copyright 2016-2018 OCamlPro *) (* *) (* All rights reserved. This file is distributed under the terms of the *) (* GNU Lesser General Public License version 2.1, with the special *) (* exception on linking described in the file LICENSE. *) (* *) (**************************************************************************) let sha1_file file = Sha1.to_hex (Sha1.file file) let sha256_file file = Sha256.to_hex (Sha256.file file) let sha512_file file = Sha512.to_hex (Sha512.file file) let hash_file = function | `SHA1 -> sha1_file | `SHA256 -> sha256_file | `SHA512 -> sha512_file let sha1_string str = Sha1.to_hex (Sha1.string str) let sha256_string str = Sha256.to_hex (Sha256.string str) let sha512_string str = Sha512.to_hex (Sha512.string str) let hash_string = function | `SHA1 -> sha1_string | `SHA256 -> sha256_string | `SHA512 -> sha512_string
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>