package tezos-context
Tezos: on-disk context abstraction for `octez-node`
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-16.1.tar.gz
sha256=43723d096307603703a1a89ed1b2eb202b365f5e7824b96b0cbf813b343a6cf7
sha512=b2a637f2e965000d3d49ad85277ca24d6cb07a1a7cf2bc69d296d8b03ad78c3eaa8e21e94b9162e62c2e11649cd03bc845b2a3dafe623b91065df69d47dc8e4f
doc/tezos-context.helpers/Tezos_context_helpers/Context/Make_tree/argument-2-DB/Info/index.html
Module DB.Info
val author_t : author Irmin.Type.t
val message_t : message Irmin.Type.t
type t = info
The type for commit info.
val t : t Irmin.Type.t
val date : t -> int64
date t
is t
's commit date.
The date provided by the user when calling the v
function. Rounding Unix.gettimeofday ()
(when available) is a good value for such date. On more esoteric platforms, any monotonic counter is a fine value as well. On the Git backend, the date is translated into the commit Date field and is expected to be the number of POSIX seconds (thus not counting leap seconds) since the Epoch.
author t
is t
's commit author.
The author identifies the entity (human, unikernel, process, thread, etc) performing an operation. For the Git backend, this will be directly translated into the Author field.
val empty : t
The empty commit info.
Info Functions
type f = unit -> t
Alias for functions which can build commit info.
val none : f
The empty info function. none ()
is empty
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page