package chamelon

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

Install

Dune Dependency

Authors

Maintainers

Sources

chamelon-v0.1.1.tbz
sha256=4b56bfe8cc25585ddaee3cda1049e7541b63f730674744d14d762a8ee14b34e4
sha512=e715cb666cc885a9e179d466c1444b79e5c6f53a167fe6af9e3d567fd2c1c181f6e68b50386f6db1423a0032fca25e4620a94e94aa4c0ab22bc016b7c6827ae8

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.