From a8cd995624e69b91df173cbfb255b9747e7a29aa Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Wed, 3 Sep 2008 18:14:44 +1200 Subject: [PATCH] remove 2 unused methods --- plugin/NERD_tree.vim | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim index 7ed9258..1605f12 100644 --- a/plugin/NERD_tree.vim +++ b/plugin/NERD_tree.vim @@ -733,36 +733,6 @@ function! s:TreeDirNode.getChildCount() return len(self.children) endfunction -"FUNCTION: TreeDirNode.getChildDirs() {{{3 -"Returns an array of all children of this node that are directories -" -"Return: -"an array of directory treenodes -function! s:TreeDirNode.getChildDirs() - let toReturn = [] - for i in self.children - if i.path.isDirectory - call add(toReturn, i) - endif - endfor - return toReturn -endfunction - -"FUNCTION: TreeDirNode.getChildFiles() {{{3 -"Returns an array of all children of this node that are files -" -"Return: -"an array of file treenodes -function! s:TreeDirNode.getChildFiles() - let toReturn = [] - for i in self.children - if i.path.isDirectory == 0 - call add(toReturn, i) - endif - endfor - return toReturn -endfunction - "FUNCTION: TreeDirNode.getChild(path) {{{3 "Returns child node of this node that has the given path or {} if no such node "exists.