Remove unused url functions from fetchers

Signed-off-by: Steven Danna <steve@chef.io>
This commit is contained in:
Steven Danna 2016-08-23 13:53:20 +01:00
parent 02d611e68c
commit d9b6210d30
No known key found for this signature in database
GPG key ID: 94DFB46E861A7DAE
3 changed files with 0 additions and 20 deletions

View file

@ -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

View file

@ -106,9 +106,5 @@ module Fetchers
def archive_path
@archive.path
end
def url
@target
end
end
end

View file

@ -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