summaryrefslogtreecommitdiff
path: root/app/models/tree_entry.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/tree_entry.rb')
-rw-r--r--app/models/tree_entry.rb23
1 files changed, 0 insertions, 23 deletions
diff --git a/app/models/tree_entry.rb b/app/models/tree_entry.rb
deleted file mode 100644
index 5dc55cfb33b..00000000000
--- a/app/models/tree_entry.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# frozen_string_literal: true
-
-class TreeEntry < SimpleDelegator
- class << self
- def decorate(entries, repository)
- entries.map do |entry|
- if entry.is_a?(TreeEntry)
- entry
- else
- self.new(entry, repository)
- end
- end
- end
- end
-
- attr_accessor :repository, :raw_entry
-
- def initialize(raw_entry, repository)
- @repository = repository
-
- super(raw_entry)
- end
-end