Class: Dependabot::Dep::FileFetcher
- Inherits:
-
FileFetchers::Base
- Object
- FileFetchers::Base
- Dependabot::Dep::FileFetcher
- Defined in:
- lib/dependabot/dep/file_fetcher.rb
Class Method Summary collapse
Class Method Details
.required_files_in?(filenames) ⇒ Boolean
9 10 11 |
# File 'lib/dependabot/dep/file_fetcher.rb', line 9 def self.required_files_in?(filenames) (%w(Gopkg.toml Gopkg.lock) - filenames).empty? end |
.required_files_message ⇒ Object
13 14 15 |
# File 'lib/dependabot/dep/file_fetcher.rb', line 13 def self. "Repo must contain a Gopkg.toml and Gopkg.lock." end |