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: 27c881c34308ad1bb360546bbfcee1bd49733d33 (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)
    end
  end
end