Method: Metior::GitHub::Repository#load_branches

Defined in:
lib/metior/github/repository.rb

#load_branchesHash<String, String> (private)

Loads all branches and the corresponding commit IDs of this repository

Returns:

  • (Hash<String, String>)

    The names of all branches and the corresponding commit IDs

See Also:

  • Octokit#branches

59
60
61
# File 'lib/metior/github/repository.rb', line 59

def load_branches
  Octokit.branches(@path)
end