package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

dune-project
 Dependency

Authors

Maintainers

Sources

merlin-5.6-504.tbz
sha256=82d648a4180d6d5aa3a083218e28bf197f4e9f147884de9302bb6811ad98b77f
sha512=e21c96db754a289462677e6985181902ddd90bab9e9cebbbb739d92d94b5aee7ef7a134da70ae384291d9bfaccfecd26d37b48f8d75c5d36b9eda18f6e5afd3d

doc/merlin-lib.utils/Merlin_utils/File_cache/Make/index.html

Module File_cache.MakeSource

Parameters

module Input : sig ... end

Signature

Sourceval read : string -> Input.t
Sourceval flush : ?older_than:float -> unit -> unit
Sourceval clear : unit -> unit
Sourceval check : string -> bool
Sourceval get_cached_entry : string -> Input.t
  • raises Not_found

    if the file is not in cache.

Sourcetype cache_stats = {
  1. hit : int;
  2. miss : int;
}
Sourceval get_cache_stats : unit -> cache_stats
Sourceval clear_cache_stats : unit -> unit