%PDF- %PDF-
Direktori : /lib/node_modules/npm/node_modules/walk-up-path/ |
Current File : //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 } }