Method: GitDS::Database#tree

Defined in:
lib/git-ds/database.rb

#tree(treeish = 'master', paths = []) ⇒ Object

Wrapper for Grit::Repo#tree that checks if Database has been closed.

Raises:



288
289
290
291
# File 'lib/git-ds/database.rb', line 288

def tree(treeish = 'master', paths = [])
  raise InvalidDbError if @stale
  super
end