lib/DAV/backends/fsext/directory.js
function(cbfsgetchildren) {
        var nodes = [];
        Async.readdir(this.path)
             .stat()
             .filter(function(file) {
                return file.indexOf(jsDAV_FSExt_File.PROPS_DIR) !== 0;
             })
             .each(function(file, cbnextdirch) {
                 nodes.push(file.stat.isDirectory()
                     ? jsDAV_FSExt_Directory.new(file.path)
                     : jsDAV_FSExt_File.new(file.path)
                 );
                 cbnextdirch();
             })
             .end(function() {
                 cbfsgetchildren(null, nodes);
             });
    }
function(cbfsgetchildren) {
        var nodes = [];
        Async.readdir(this.path)
             .stat()
             .filter(function(file) {
                return file.indexOf(jsDAV_FSExt_File.PROPS_DIR) !== 0;
             })
             .each(function(file, cbnextdirch) {
                 nodes.push(file.stat.isDirectory()
                     ? jsDAV_FSExt_Directory.new(file.path)
                     : jsDAV_FSExt_File.new(file.path)
                 );
                 cbnextdirch();
             })
             .end(function() {
                 cbfsgetchildren(null, nodes);
             });
    }
function ( cbfsgetchildren ) { var nodes = [ ] ; Async . readdir ( this . path ) . stat ( ) . filter ( function ( file ) { return file . indexOf ( jsDAV_FSExt_File . PROPS_DIR ) !== 0 ; } ) . each ( function ( file , cbnextdirch ) { nodes . push ( file . stat . isDirectory ( ) ? jsDAV_FSExt_Directory . new ( file . path ) : jsDAV_FSExt_File . new ( file . path ) ) ; cbnextdirch ( ) ; } ) . end ( function ( ) { cbfsgetchildren ( null , nodes ) ; } ) ; }
Returns an array with all the child nodes

@return jsDAV_iNode[]
Returns an array with all the child nodes