class DTK::Client::LoadSource::ComponentInfo

Private Class Methods

info_type() click to toggle source
# File lib/client/load_source/component_info.rb, line 39
def self.info_type
  :component_info
end

Public Instance Methods

fetch_and_cache_info() click to toggle source
# File lib/client/load_source/component_info.rb, line 21
def fetch_and_cache_info
  updated = false
  fetch_remote

  if merge_from_remote
    transform_from_component_info
    updated = true
  end

  updated
end
fetch_info() click to toggle source
# File lib/client/load_source/component_info.rb, line 33
def fetch_info
  fetch_remote
end

Private Instance Methods

transform_from_component_info() click to toggle source
# File lib/client/load_source/component_info.rb, line 43
def transform_from_component_info
  info_processor.read_inputs_and_compute_outputs!
  info_processor.input_file_paths.map { |path| Operation::ClientModuleDir.rm_f(path) }
end