package bistro

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Bistro_engine.DbSource

A database to cache workflow result and execution traces

It is implemented as a directory in the file system.

Sourcetype t

An abstract type for databases

Sourcetype id = string
Sourceval init : string -> (t, [ `Msg of string ]) result

init path creates a database located at path path, which can be absolute or relative. If the path already exists, its contents is inspected to see if it looks like a bistro database; if not, a fresh database is created on the filesystem.

Returns an error message if path is occupied with something else than a bistro database.

Sourceval init_exn : string -> t
Sourceval tmp_dir : t -> string
Sourceval cache_dir : t -> string
Sourceval stdout_dir : t -> string
Sourceval stderr_dir : t -> string
Sourceval build_dir : t -> string
Sourceval singularity_image_dir : t -> string
Sourceval tmp : t -> id -> string
Sourceval cache : t -> id -> string
Sourceval stdout : t -> id -> string
Sourceval stderr : t -> id -> string
Sourceval build : t -> id -> string
Sourceval singularity_image : t -> Bistro_internals.Workflow.container_image -> string
Sourceval container_image_identifier : Bistro_internals.Workflow.container_image -> string
Sourceval fold_cache : t -> init:'a -> f:('a -> id -> 'a) -> 'a
Sourceval path : t -> Bistro_internals.Workflow.path -> string
Sourceval is_in_cache : t -> Bistro_internals.Workflow.any -> bool
Sourceval remove : t -> id -> (unit, [> `Msg of string ]) result
OCaml

Innovation. Community. Security.