File Explorer

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

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.js457 B · 18 lines
"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.walkUp = void 0;const path_1 = require("path");const walkUp = function* (path) {    for (path = (0, path_1.resolve)(path); path;) {        yield path;        const pp = (0, path_1.dirname)(path);        if (pp === path) {            break;        }        else {            path = pp;        }    }};exports.walkUp = walkUp;//# sourceMappingURL=index.js.map