package chamelon

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

Install

Dune Dependency

Authors

Maintainers

Sources

chamelon-v0.0.10.tbz
sha256=592a0becee61ecf45c283bed686afc4258c7d77c40d7d6f7ae062e67b4a0a89f
sha512=4ac8ab3ed004b9f8881ad116c292ad1bef845d79edcfd7c6058f8b9cb476cb2b7bbbf78a3fa10bd9cf1683ad988b7b4b75a51f238fc7b5b46e9a699cdff8b42a

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.