PHP 8.2.30
Preview: load-uid.js Size: 386 B
/proc/thread-self/root/proc/self/root/opt/alt/alt-nodejs11/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: 16

Name Size Perms Modified Actions
716 B lrw-r--r-- 2021-10-19 09:47:43
Edit Download
423 B lrw-r--r-- 2021-10-19 09:47:43
Edit Download
2.16 KB lrw-r--r-- 2021-10-19 09:47:43
Edit Download
10.88 KB lrw-r--r-- 2021-10-19 09:47:43
Edit Download
11.25 KB lrw-r--r-- 2021-10-19 09:47:43
Edit Download
1.95 KB lrw-r--r-- 2021-10-19 09:47:43
Edit Download
2.29 KB lrw-r--r-- 2021-10-19 09:47:43
Edit Download
687 B lrw-r--r-- 2021-10-19 09:47:43
Edit Download
2.16 KB lrw-r--r-- 2021-10-19 09:47:43
Edit Download
851 B lrw-r--r-- 2021-10-19 09:47:43
Edit Download
682 B lrw-r--r-- 2021-10-19 09:47:43
Edit Download
1.30 KB lrw-r--r-- 2021-10-19 09:47:43
Edit Download
386 B lrw-r--r-- 2021-10-19 09:47:43
Edit Download
471 B lrw-r--r-- 2021-10-19 09:47:43
Edit Download
1.24 KB lrw-r--r-- 2021-10-19 09:47:43
Edit Download
749 B lrw-r--r-- 2021-10-19 09:47:43
Edit Download

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