Module Repository.ServiceSource

include Core.Container.Service.Sig
Sourceval register_cleaner : (Core.Ctx.t -> unit Lwt.t) -> unit

Register repository cleaner function.

A cleaner function is used during integration testing to efficiently clean repositories.

Sourceval register_cleaners : (Core.Ctx.t -> unit Lwt.t) list -> unit

Register repository cleaner functions.

Sourceval clean_all : Core.Ctx.t -> unit Lwt.t

Run all registered repository cleaners.

Use this carefully, running clean_all leads to data loss!