package obuilder

  1. Overview
  2. Docs

Configuration information to set up a store.

type t = [
  1. | `Btrfs of string
  2. | `Zfs of string
  3. | `Rsync of string
]
val is_absolute : string -> bool
val of_string : string -> ([> `Btrfs of string | `Rsync of string | `Zfs of string ], [> `Msg of string ]) Stdlib.result
val pp : Stdlib.Format.formatter -> [< `Btrfs of string | `Rsync of string | `Zfs of string ] -> unit
type store =
  1. | Store : (module S.STORE with type t = 'a) * 'a -> store
val to_store : Rsync_store.mode -> [< `Btrfs of string | `Rsync of string | `Zfs of string ] -> store Lwt.t
val store_t : [ `Btrfs of string | `Rsync of string | `Zfs of string ] Cmdliner.Arg.conv
val store : string list -> [ `Btrfs of string | `Rsync of string | `Zfs of string ] option Cmdliner.Arg.t
val rsync_mode : Rsync_store.mode Cmdliner.Term.t
val cmdliner : store Lwt.t Cmdliner.Term.t

A Cmdliner term where the store is required.

val cmdliner_opt : store Lwt.t option Cmdliner.Term.t

A Cmdliner term where the store is optional.

OCaml

Innovation. Community. Security.