Class: Pod::SPM::Resolver::Result::WritableResult

Inherits:
Pod::SPM::Resolver::Result show all
Defined in:
lib/cocoapods-spm/resolver/result.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Pod::SPM::Resolver::Result

#initialize, #linker_flags_for, #metadata_of, #spm_dependencies_for, #spm_products_for

Constructor Details

This class inherits a constructor from Pod::SPM::Resolver::Result

Instance Attribute Details

#metadata_cacheObject

Returns the value of attribute metadata_cache.



6
7
8
# File 'lib/cocoapods-spm/resolver/result.rb', line 6

def 
  
end

#spm_dependencies_by_targetObject

Returns the value of attribute spm_dependencies_by_target.



6
7
8
# File 'lib/cocoapods-spm/resolver/result.rb', line 6

def spm_dependencies_by_target
  @spm_dependencies_by_target
end

#spm_pkgsObject

Returns the value of attribute spm_pkgs.



6
7
8
# File 'lib/cocoapods-spm/resolver/result.rb', line 6

def spm_pkgs
  @spm_pkgs
end

#spm_productsObject

Returns the value of attribute spm_products.



6
7
8
# File 'lib/cocoapods-spm/resolver/result.rb', line 6

def spm_products
  @spm_products
end

Instance Method Details

#to_read_onlyObject



8
9
10
11
12
13
14
15
# File 'lib/cocoapods-spm/resolver/result.rb', line 8

def to_read_only
  Result.new(
    spm_pkgs: spm_pkgs,
    spm_dependencies_by_target: spm_dependencies_by_target,
    spm_products: spm_products,
    metadata_cache: 
  )
end