PHP 8.2.30
Preview: load-uid.js Size: 386 B
/proc/self/root/proc/thread-self/root/opt/alt/alt-nodejs6/root/lib/node_modules/npm/lib/config/load-uid.js

module.exports = loadUid

var getUid = require('uid-number')

// Call in the context of a npmconf object

function loadUid (cb) {
  // if we're not in unsafe-perm mode, then figure out who
  // to run stuff as.  Do this first, to support `npm update npm -g`
  if (!this.get('unsafe-perm')) {
    getUid(this.get('user'), this.get('group'), cb)
  } else {
    process.nextTick(cb)
  }
}

Directory Contents

Dirs: 0 × Files: 12

Name Size Perms Modified Actions
423 B lrw-r--r-- 2021-09-28 09:36:04
Edit Download
1.83 KB lrw-r--r-- 2021-09-28 09:36:04
Edit Download
11.03 KB lrw-r--r-- 2021-09-28 09:36:04
Edit Download
9.98 KB lrw-r--r-- 2021-09-28 09:36:04
Edit Download
1.31 KB lrw-r--r-- 2021-09-28 09:36:04
Edit Download
2.06 KB lrw-r--r-- 2021-09-28 09:36:04
Edit Download
682 B lrw-r--r-- 2021-09-28 09:36:04
Edit Download
1.30 KB lrw-r--r-- 2021-09-28 09:36:04
Edit Download
386 B lrw-r--r-- 2021-09-28 09:36:04
Edit Download
471 B lrw-r--r-- 2021-09-28 09:36:04
Edit Download
1.24 KB lrw-r--r-- 2021-09-28 09:36:04
Edit Download
749 B lrw-r--r-- 2021-09-28 09:36:04
Edit Download

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