Welcome to mirror list, hosted at ThFree Co, Russian Federation.

delete_service.rb « files « services « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8b27ad51789bc54d2f64a160bb09a0fb2d4942c0 (plain)
1
2
3
4
5
6
7
8
9
require_relative "base_service"

module Files
  class DeleteService < Files::BaseService
    def commit
      repository.remove_file(current_user, @file_path, @commit_message, @target_branch, author_email: @author_email, author_name: @author_name)
    end
  end
end