package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

dune-project
 Dependency

Authors

Maintainers

Sources

merlin-5.7.1-504.tbz
sha256=139b073cf914b38b725c54f75b8b642f654c3498d0a4ba8cfa831ff02a8970d5
sha512=9391d3a0aaa5065a02c6f5faaf7149f8f800c748d9be5ccff6af800ce73bdf418ead72dbeaf6ee7a6cbeae2c8e56285fbe422740ed407bcc4edab889dd1c8f9c

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