You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- if params[:filepath].present?
- json.partial! "api/v1/projects/simple_gitea_diff_detail", diff: @result_object
- else
- json.file_nums @result_object[:total_data].to_i
- json.total_addition @result_object[:data]["total_addition"]
- json.total_deletion @result_object[:data]["total_deletion"]
- json.files @result_object[:data]["files"] do |file|
- json.partial! "api/v1/projects/simple_gitea_file", file: file
- end
- end
|