Class: Dependabot::FileFetchers::Go::Modules
- Defined in:
- lib/dependabot/file_fetchers/go/modules.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/modules.rb', line 9 def self.required_files_in?(filenames) filenames.include?("go.mod") end |
.required_files_message ⇒ Object
13 14 15 |
# File 'lib/dependabot/file_fetchers/go/modules.rb', line 13 def self. "Repo must contain a go.mod." end |