Module Ocaml_plugin__.Plugin_cache

type t

Mutable type containing information about the cached files.

type filename = string
module Sources : sig ... end
module Plugin : sig ... end
module Config : sig ... end
val create : Config.t -> t Async.Deferred.Or_error.t

Loading info and cache initialization, including some clean-up if needed, etc. cleaning old version files if present.

val digest : Ocaml_plugin__.Ml_bundle.t list -> Sources.t Async.Deferred.Or_error.t
val find : t -> Sources.t -> Plugin.t option
val add : t -> Sources.t -> Ocaml_plugin__.Plugin_uuid.t -> filename -> unit Async.Deferred.Or_error.t

Update the info in the file system, perform some clean-up if needed.

val clean : t -> unit Async.Deferred.Or_error.t

Release this plugin cache lock.

module Digest : sig ... end

Exported to be used in some other part of ocaml_plugin.