package git-mirage

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

Install

Dune Dependency

Authors

Maintainers

Sources

git-3.17.0.tbz
sha256=ef200d0412ed1a538525d0501298890e0b893e020528094d6a3ae12359fd0265
sha512=793009a9bf9413147e6c43dfdc4bbe39b00129a5ea0f5d3df149ad2e27b4a3c641ca3b6857476a1cee325aad4d192625220647575470f00d02fb95f085bd9009

doc/git-mirage.http/Git_mirage_http/Make/argument-1-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.