Up

Module Plugin_cache = Plugin_cache

Signature

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

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

val find : t -> Sources.t -> Plugin.t option

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

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

release this plugin cache lock

module Digest : sig .. end
Exported to be used in some other part of ocaml_plugin