Method: Repository#list_last_commits_for_tree
- Defined in:
- app/models/repository.rb
#list_last_commits_for_tree(sha, path, offset: 0, limit: 25, literal_pathspec: false) ⇒ Object
782 783 784 785 786 |
# File 'app/models/repository.rb', line 782 def list_last_commits_for_tree(sha, path, offset: 0, limit: 25, literal_pathspec: false) raw_repository .list_last_commits_for_tree(sha, path, offset: offset, limit: limit, literal_pathspec: literal_pathspec) .transform_values { |commit| ::Commit.new(commit, container) } end |