package chamelon

  1. Overview
  2. Docs
Subset of littlefs filesystem fulfilling MirageOS KV

Install

Dune Dependency

Authors

Maintainers

Sources

chamelon-v0.0.9.1.tbz
sha256=14c8e64ce48dbfc09876a1a66351e44ce41669b87a0cc7c900a1cadc563d9bad
sha512=8988a0f03b1b0f89fee68a3950710705f1053536c24cde3dbb8916a2f0a90ce72eb97cacd400101f715a240dae6596f1fa598ec38bf30069be7d159a7f960653

doc/chamelon.kv/Kv/Make/argument-2-Clock/index.html

Parameter Make.Clock

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.