class AmberLSP::Lookup::APIIndexService

Defined in:

amber_lsp/lookup/api_index_service.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(cache_root : String = APIIndexCache.default_root, layer_builder : Proc(String, Array(CachedAPIIndexLayer)) | Nil = nil) #

[View source]

Instance Method Detail

def invalidate(root_path : String) : Nil #

[View source]
def layers_for(root_path : String) : Array(CachedAPIIndexLayer) | Nil #

[View source]
def seed(root_path : String, layers : Array(CachedAPIIndexLayer)) : Nil #

[View source]