package chamelon

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

Install

Dune Dependency

Authors

Maintainers

Sources

chamelon-0.0.7.tbz
sha256=feea6eaddd8f24a3ee4bf7fcbd1567d9a6244c8f14be777fe54cb873838afbf6
sha512=060e81f9bd4e89102af519dad987f85392d10daac9c809f970ebe0afefac043e32d8d14306ea00a5cd98484607b9d8ba40c251ae3977f7a7525fec40de1ecb00

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.