Superbol_free_lib.Command_cacheInspecting, filling and reclaiming the caches the LSP server writes.
module CACHE = Superbol_cache.CacheWhere to look for a cache: dir, and whether it was given as the root of the project, rather than as some directory within it.
val rootdir_of :
layout:Superbol_project.layout ->
location ->
Superbol_project.rootdirval with_cache :
location ->
(rootdir:string -> (string * Superbol_cache.Cache.t) option -> 'a) ->
'awith_cache location f is f ~rootdir cache, where rootdir is the root of the project at location, and cache the location and handle of its cache, if any.
val json_of_stats :
Superbol_cache.Types.stats ->
(string * [> `Int of int | `Intlit of string | `String of string ]) listval json_of_entry_info :
Superbol_cache.Types.entry_info ->
[> `Assoc of
(string
* [> `Float of float
| `Int of int
| `Intlit of string
| `String of Superbol_cache.Types.key ])
list ]val stats : CACHE.t -> cache_root:string -> Superbol_cache.Types.statsval status : json:bool -> verbose:bool -> location -> unitval trim :
json:bool ->
older_than:float option ->
max_size:int64 option ->
location ->
unitval location_args :
unit ->
(unit ->
location)
* (string list * Ezcmd.V2.EZCMD.TYPES.Arg.spec * Ezcmd.V2.EZCMD.TYPES.info)
list