Bistro_engine.DbA database to cache workflow result and execution traces
It is implemented as a directory in the file system.
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.
val init_exn : string -> tval tmp_dir : t -> stringval cache_dir : t -> stringval stdout_dir : t -> stringval stderr_dir : t -> stringval build_dir : t -> stringval singularity_image_dir : t -> stringval singularity_image : t -> Bistro_internals.Command.container_image -> stringval container_image_identifier :
Bistro_internals.Command.container_image ->
stringval fold_cache : t -> init:'a -> f:('a -> string -> 'a) -> 'aval path : t -> Bistro_internals.Workflow.path -> stringval is_in_cache : t -> Bistro_internals.Workflow.any -> bool