File Explorer

/proc/1/task/1/cwd/node24/lib/node_modules/npm/node_modules/diff/libesm/util

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

params.js410 B · 15 lines
export function generateOptions(options, defaults) {    if (typeof options === 'function') {        defaults.callback = options;    }    else if (options) {        for (const name in options) {            /* istanbul ignore else */            if (Object.prototype.hasOwnProperty.call(options, name)) {                defaults[name] = options[name];            }        }    }    return defaults;}