%PDF- %PDF-
Direktori : /usr/lib/node_modules/npm/node_modules/walk-up-path/ |
Current File : //usr/lib/node_modules/npm/node_modules/walk-up-path/index.js |
const {dirname, resolve} = require('path') module.exports = function* (path) { for (path = resolve(path); path;) { yield path const pp = dirname(path) if (pp === path) path = null else path = pp } }