PHP 8.2.30
Preview: index.js Size: 322 B
/proc/self/root/opt/alt/alt-nodejs20/root/lib/node_modules/npm/node_modules/walk-up-path/dist/mjs/index.js

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

Directory Contents

Dirs: 0 × Files: 2

Name Size Perms Modified Actions
322 B lrw-r--r-- 2026-02-23 03:24:42
Edit Download
23 B lrw-r--r-- 2026-02-23 03:24:42
Edit Download

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