HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //home/arjun/.nvm/versions/node/v12.22.12/lib/node_modules/npm/lib/config/gentle-fs.js
'use strict'

const npm = require('../npm.js')
const log = require('npmlog')

module.exports = gentleFSOpts

function gentleFSOpts (gently, base, abs) {
  return {
    // never rm the root, prefix, or bin dirs
    //
    // globals included because of `npm link` -- as far as the package
    // requesting the link is concerned, the linked package is always
    // installed globally
    prefixes: [
      npm.prefix,
      npm.globalPrefix,
      npm.dir,
      npm.root,
      npm.globalDir,
      npm.bin,
      npm.globalBin
    ],
    absolute: abs,
    log: log,
    prefix: npm.prefix,
    force: npm.config.get('force'),
    gently: gently,
    base: base,
    name: 'npm'
  }
}