mirror of
https://github.com/gitlabhq/gitlabhq.git
synced 2025-08-03 16:26:09 +00:00
17 lines
391 B
Ruby
17 lines
391 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Gitlab
|
|
module Git
|
|
# Represents a tree-ish object for git diff-tree command
|
|
# See: https://git-scm.com/docs/git-diff-tree
|
|
class DiffTree
|
|
attr_reader :left_tree_id, :right_tree_id
|
|
|
|
def initialize(left_tree_id, right_tree_id)
|
|
@left_tree_id = left_tree_id
|
|
@right_tree_id = right_tree_id
|
|
end
|
|
end
|
|
end
|
|
end
|