Class: MultiGit::RuggedBackend::Tree
- Includes:
- Tree
- Defined in:
- lib/multi_git/rugged_backend/tree.rb
Instance Attribute Summary
Attributes included from Object
Instance Method Summary collapse
Methods included from Tree
Methods included from Object
#bytesize, #content, #to_builder, #to_io
Methods included from Utils::AbstractMethods
Methods included from Tree::Base
#==, #each, #entries, #entry, #glob, #hash, #key?, #names, #traverse, #type
Methods included from Walkable
Instance Method Details
#raw_entries ⇒ Object
11 12 13 14 15 |
# File 'lib/multi_git/rugged_backend/tree.rb', line 11 def raw_entries @raw_entries ||= rugged_object.map do |entry| [entry[:name], entry[:filemode], entry[:oid]] end end |
#size ⇒ Object
7 8 9 |
# File 'lib/multi_git/rugged_backend/tree.rb', line 7 def size rugged_object.count end |