Method: Inspec::Profile.for_fetcher
- Defined in:
- lib/inspec/profile.rb
.for_fetcher(fetcher, opts) ⇒ Object
70 71 72 73 74 |
# File 'lib/inspec/profile.rb', line 70 def self.for_fetcher(fetcher, opts) opts[:vendor_cache] = opts[:vendor_cache] || Cache.new path, writable = fetcher.fetch for_path(path, opts.merge(target: fetcher.target, writable: writable)) end |