package irmin
- Overview
- No Docs
You can search for identifiers within the package.
in-package search v0.2.0
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=8e073abe1b5ffb5b6d58c32606c9d7dabc32c53501756be80a92ed4777ad51a0
sha512=70769a8d36520626fecd6f68e5f3abe6a0d67a65af915312206cc3f4da230df48512faee178aa6e899d3fb640b9340f6c92486185be5432a1a1a161c70386c99
doc/irmin.mem/Irmin_mem/Make/Info/index.html
Module Make.Info
Source
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