Method: Git::Lib#tree_depth
- Defined in:
- lib/git/lib.rb
#tree_depth(sha)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
680 681 682 |
# File 'lib/git/lib.rb', line 680 def tree_depth(sha) full_tree(sha).size end |