File Explorer

/proc/4/root/var/lang/lib/node_modules/npm/node_modules/walk-up-path/dist/esm

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 /.

index.js322 B · 14 lines
import { dirname, resolve } from 'path';export const walkUp = function* (path) {    for (path = resolve(path); path;) {        yield path;        const pp = dirname(path);        if (pp === path) {            break;        }        else {            path = pp;        }    }};//# sourceMappingURL=index.js.map