package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

dune-project
 Dependency

Authors

Maintainers

Sources

merlin-5.9.tbz
sha256=de395dd37d246e3ec303e1af35ff8421665fa4f0f0005d95732124b22e3417ac
sha512=74756b28767cdfe10288720540582e818a9d946dd2406606724ebc7b68d1cf6623142e56a1e457f7862839732e7add365aec056930c7ac89be7036c22e5f29ae

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