2014-09-02 18:07:02 +05:30
|
|
|
module Files
|
2015-09-25 12:07:36 +05:30
|
|
|
class DeleteService < Files::BaseService
|
2017-08-17 22:00:37 +05:30
|
|
|
def create_commit!
|
|
|
|
repository.delete_file(
|
|
|
|
current_user,
|
|
|
|
@file_path,
|
|
|
|
message: @commit_message,
|
|
|
|
branch_name: @branch_name,
|
|
|
|
author_email: @author_email,
|
|
|
|
author_name: @author_name,
|
|
|
|
start_project: @start_project,
|
|
|
|
start_branch_name: @start_branch)
|
2014-09-02 18:07:02 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|