Module: Repokeeper::Analyzers::BranchesCount

Included in:
LocalBranchesCount, RemoteBranchesCount
Defined in:
lib/repokeeper/analyzers/mixins/branches_count.rb

Instance Method Summary collapse

Instance Method Details

#analyze(repo) ⇒ Object



3
4
5
6
# File 'lib/repokeeper/analyzers/mixins/branches_count.rb', line 3

def analyze(repo)
  branches = get_branches(repo)
  report(branches) if error?(branches)
end