Class: Dependabot::FileFetchers::Go::Dep
- Defined in:
- lib/dependabot/file_fetchers/go/dep.rb
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Methods inherited from Base
#commit, #directory, #files, #initialize, #repo, #target_branch
Constructor Details
This class inherits a constructor from Dependabot::FileFetchers::Base
Class Method Details
.required_files_in?(filenames) ⇒ Boolean
9 10 11 |
# File 'lib/dependabot/file_fetchers/go/dep.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/file_fetchers/go/dep.rb', line 13 def self. "Repo must contain a Gopkg.toml and Gopkg.lock." end |