debian-mirror-gitlab/app/services/files/create_dir_service.rb

10 lines
212 B
Ruby
Raw Normal View History

2015-10-24 18:46:33 +05:30
require_relative "base_service"
module Files
class CreateDirService < Files::BaseService
def commit
repository.commit_dir(current_user, @file_path, @commit_message, @target_branch)
end
end
end