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: cfe532d49b3413f6e5a3f8644fbd8f5defcaa2ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module Files
  class DeleteService < Files::BaseService
    def commit
      repository.remove_file(
        current_user,
        @file_path,
        message: @commit_message,
        branch_name: @target_branch,
        author_email: @author_email,
        author_name: @author_name,
        source_project: @source_project,
        source_branch_name: @source_branch)
    end
  end
end