File Explorer

/proc/self/root/proc/1/task/1/cwd/node24/lib/node_modules/npm/node_modules/diff/libesm/diff

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.js370 B · 17 lines
import Diff from './base.js';class ArrayDiff extends Diff {    tokenize(value) {        return value.slice();    }    join(value) {        return value;    }    removeEmpty(value) {        return value;    }}export const arrayDiff = new ArrayDiff();export function diffArrays(oldArr, newArr, options) {    return arrayDiff.diff(oldArr, newArr, options);}