Sha256: 4c08994185389ddad1016117c85f0ff96daf8715d40a525ed3d2ccbebc7c74d3
Contents?: true
Size: 1.03 KB
Versions: 2
Compression:
Stored size: 1.03 KB
Contents
require "digest" module Yoda module Store module Registry require 'yoda/store/registry/cache' require 'yoda/store/registry/composer' require 'yoda/store/registry/index' require 'yoda/store/registry/library_registry_set' require 'yoda/store/registry/library_registry' require 'yoda/store/registry/local_store' require 'yoda/store/registry/project_registry' # @note This number must be updated when breaking change is added. REGISTRY_VERSION = 6 class << self def registry_name @registry_name ||= begin digest = Digest::SHA256.new digest.update(RUBY_VERSION) digest.update(REGISTRY_VERSION.to_s) digest.update(Adapters.default_adapter_class.type.to_s) digest.hexdigest end end # @param project [Project] # @param memory [Boolean] # @return [Registry] def for_project(project) ProjectRegistry.for_project(project) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yoda-language-server-0.9.0 | lib/yoda/store/registry.rb |
yoda-language-server-0.8.0 | lib/yoda/store/registry.rb |