mirror of
https://github.com/inspec/inspec
synced 2024-11-30 16:39:20 +00:00
50b27c4b32
Before, a URL based source might be downloaded multiple times during the dependency fetching and lockfile creation. This commit tries to avoid this by: 1) Memoizing data about the archive to avoid re-fetching the archive 2) Adding a CachedFetcher wrapper around the fetcher class to help ensure that callers always consult the cache before fetching. Signed-off-by: Steven Danna <steve@chef.io> |
||
---|---|---|
.. | ||
git.rb | ||
local.rb | ||
mock.rb | ||
url.rb |