lib/DAV/backends/fsext/directory.js
function(name, cbfsgetchild) {
        var path = Path.join(this.path, name);

        Fs.stat(path, function(err, stat) {
            if (err || typeof stat == "undefined") {
                return cbfsgetchild(new Exc.FileNotFound("File with name "
                    + path + " could not be located"));
            }
            cbfsgetchild(null, stat.isDirectory()
                ? jsDAV_FSExt_Directory.new(path)
                : jsDAV_FSExt_File.new(path))
        });
    }
function(name, cbfsgetchild) {
        var path = Path.join(this.path, name);

        Fs.stat(path, function(err, stat) {
            if (err || typeof stat == "undefined") {
                return cbfsgetchild(new Exc.FileNotFound("File with name "
                    + path + " could not be located"));
            }
            cbfsgetchild(null, stat.isDirectory()
                ? jsDAV_FSExt_Directory.new(path)
                : jsDAV_FSExt_File.new(path))
        });
    }
function ( name , cbfsgetchild ) { var path = Path . join ( this . path , name ) ; Fs . stat ( path , function ( err , stat ) { if ( err || typeof stat == "undefined" ) { return cbfsgetchild ( new Exc . FileNotFound ( "File with name " + path + " could not be located" ) ) ; } cbfsgetchild ( null , stat . isDirectory ( ) ? jsDAV_FSExt_Directory . new ( path ) : jsDAV_FSExt_File . new ( path ) ) } ) ; }
Returns a specific child node, referenced by its name

@param {String} name
@throws Sabre_DAV_Exception_FileNotFound
@return Sabre_DAV_INode
Returns a specific child node referenced by its name