mirror of
https://github.com/inspec/inspec
synced 2024-11-10 07:04:15 +00:00
Remove unused url functions from fetchers
Signed-off-by: Steven Danna <steve@chef.io>
This commit is contained in:
parent
02d611e68c
commit
d9b6210d30
3 changed files with 0 additions and 20 deletions
|
@ -32,14 +32,6 @@ module Fetchers
|
|||
end
|
||||
end
|
||||
|
||||
def url
|
||||
if parent
|
||||
parent.url
|
||||
else
|
||||
'file://target'
|
||||
end
|
||||
end
|
||||
|
||||
def read(file)
|
||||
@contents[file] ||= read_from_tar(file)
|
||||
end
|
||||
|
|
|
@ -106,9 +106,5 @@ module Fetchers
|
|||
def archive_path
|
||||
@archive.path
|
||||
end
|
||||
|
||||
def url
|
||||
@target
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -29,14 +29,6 @@ module Fetchers
|
|||
end
|
||||
end
|
||||
|
||||
def url
|
||||
if parent
|
||||
parent.url
|
||||
else
|
||||
'file://target'
|
||||
end
|
||||
end
|
||||
|
||||
def read(file)
|
||||
@contents[file] ||= read_from_zip(file)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue