Method: Git::Lib#tree_depth

Defined in:
lib/git/lib.rb

#tree_depth(sha) ⇒ Object



292
293
294
# File 'lib/git/lib.rb', line 292

def tree_depth(sha)
  full_tree(sha).size
end