PHP 8.2.30
Preview: index.js Size: 457 B
/opt/alt/alt-nodejs24/root/usr/lib/node_modules/npm/node_modules/walk-up-path/dist/commonjs/index.js

"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

Directory Contents

Dirs: 0 × Files: 2

Name Size Perms Modified Actions
457 B lrw-r--r-- 2026-03-17 12:21:20
Edit Download
25 B lrw-r--r-- 2026-03-17 12:21:20
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).