File Explorer

/proc/self/root/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 /.

array.js390 B · 18 lines
export function arrayEqual(a, b) {    if (a.length !== b.length) {        return false;    }    return arrayStartsWith(a, b);}export function arrayStartsWith(array, start) {    if (start.length > array.length) {        return false;    }    for (let i = 0; i < start.length; i++) {        if (start[i] !== array[i]) {            return false;        }    }    return true;}