       node.children = detailNode.children
       callback node.children
 
-  ###
-  #<section id='getDir'/>
-
-  # getDir
-  # ------
-
-  # This function function fetches the directory listing for a path
-  # on a given repo and branch.
-  ###
   getDir = (path, callback) ->
     node = undefined
     name = undefined


  # This function splits a path on `/` and removes any empty trailing element.
  ###
  getPathParts = (path) ->
    parts = path.split("/")
    return parts.slice(0, parts.length - 1)  if parts[parts.length - 1] is ""
    parts

  #<section id='makeNodes'/>


      FeedlyNode._ROOT_PATH,
      { cmds: FeedlyNode._ROOT_COMMANDS }

  getChildNodes: (callback) ->
    @children ?= (new FeedlyNode(name,
      [@path, name].join('/'),
      null) for name in FeedlyNode._ROOT_COMMANDS)
    return callback @children

  toString: ->
    return "#{@name} '#{@path}'"

#//////////////////////////////////////////////////////////
# based on josh.js:gh-pages githubconsole
