package git-mirage

  1. Overview
  2. Docs
A package to use ocaml-git with MirageOS backend

Install

Dune Dependency

Authors

Maintainers

Sources

git-3.8.0.tbz
sha256=f6c628e3628d25686cec4cdff8132f9433e95938bdcb43975778d28d33a0b077
sha512=779bdd7a1657e859ed47b46ef9da007b5f43f4446f8cea831f29fae662efdd33a39aa2ee90b9f8d8b6360f2abb78038a7592633efa26e8adc5d2ae20d86d8015

doc/git-mirage.http/Git_mirage_http/Make/argument-2-Pclock/index.html

Parameter Make.Pclock

val now_d_ps : unit -> int * int64

now_d_ps () is (d, ps) representing the POSIX time occurring at d * 86'400e12 + ps POSIX picoseconds from the epoch 1970-01-01 00:00:00 UTC. ps is in the range [0;86_399_999_999_999_999L].

val current_tz_offset_s : unit -> int option

current_tz_offset_s () is the clock's current local time zone offset to UTC in seconds, if known. This is the duration local time - UTC time in seconds.

val period_d_ps : unit -> (int * int64) option

period_d_ps () is Some (d, ps) representing the clock's picosecond period d * 86'400e12 + ps, if known. ps is in the range [0;86_399_999_999_999_999L].

OCaml

Innovation. Community. Security.