$18 GRAYBYTE WORDPRESS FILE MANAGER $59

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/alt-nodejs16/root/usr/lib/node_modules/npm/node_modules.bundled/@npmcli/fs/lib/

HOME
Current File : /opt/alt/alt-nodejs16/root/usr/lib/node_modules/npm/node_modules.bundled/@npmcli/fs/lib//mkdtemp.js
const { dirname, sep } = require('path')

const fs = require('./fs.js')
const getOptions = require('./common/get-options.js')
const withOwner = require('./with-owner.js')

const mkdtemp = async (prefix, opts) => {
  const options = getOptions(opts, {
    copy: ['encoding'],
    wrap: 'encoding',
  })

  // mkdtemp relies on the trailing path separator to indicate if it should
  // create a directory inside of the prefix. if that's the case then the root
  // we infer ownership from is the prefix itself, otherwise it's the dirname
  // /tmp -> /tmpABCDEF, infers from /
  // /tmp/ -> /tmp/ABCDEF, infers from /tmp
  const root = prefix.endsWith(sep) ? prefix : dirname(prefix)

  return withOwner(root, () => fs.mkdtemp(prefix, options), opts)
}

module.exports = mkdtemp


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
1 Jan 1970 12.00 AM
root / root
0
common
--
8 Apr 2026 8.32 AM
root / root
0755
cp
--
8 Apr 2026 8.32 AM
root / root
0755
rm
--
8 Apr 2026 8.32 AM
root / root
0755
copy-file.js
0.482 KB
17 Mar 2026 6.55 AM
root / root
0644
errors.js
3.316 KB
17 Mar 2026 6.55 AM
root / root
0644
fs.js
0.645 KB
17 Mar 2026 6.55 AM
root / root
0644
index.js
0.386 KB
17 Mar 2026 6.55 AM
root / root
0644
mkdir.js
0.425 KB
17 Mar 2026 6.55 AM
root / root
0644
mkdtemp.js
0.759 KB
17 Mar 2026 6.55 AM
root / root
0644
with-owner-sync.js
0.452 KB
17 Mar 2026 6.55 AM
root / root
0644
with-owner.js
0.483 KB
17 Mar 2026 6.55 AM
root / root
0644
with-temp-dir.js
0.997 KB
17 Mar 2026 6.55 AM
root / root
0644
write-file.js
0.386 KB
17 Mar 2026 6.55 AM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF