$81 GRAYBYTE WORDPRESS FILE MANAGER $93

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

/opt/alt/alt-nodejs16/root/usr/lib/node_modules/npm/node_modules.bundled/tar/lib/

HOME
Current File : /opt/alt/alt-nodejs16/root/usr/lib/node_modules/npm/node_modules.bundled/tar/lib//get-write-flag.js
// Get the appropriate flag to use for creating files
// We use fmap on Windows platforms for files less than
// 512kb.  This is a fairly low limit, but avoids making
// things slower in some cases.  Since most of what this
// library is used for is extracting tarballs of many
// relatively small files in npm packages and the like,
// it can be a big boost on Windows platforms.
// Only supported in Node v12.9.0 and above.
const platform = process.env.__FAKE_PLATFORM__ || process.platform
const isWindows = platform === 'win32'
const fs = global.__FAKE_TESTING_FS__ || require('fs')

/* istanbul ignore next */
const { O_CREAT, O_TRUNC, O_WRONLY, UV_FS_O_FILEMAP = 0 } = fs.constants

const fMapEnabled = isWindows && !!UV_FS_O_FILEMAP
const fMapLimit = 512 * 1024
const fMapFlag = UV_FS_O_FILEMAP | O_TRUNC | O_CREAT | O_WRONLY
module.exports = !fMapEnabled ? () => 'w'
  : size => size < fMapLimit ? fMapFlag : 'w'


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
create.js
2.296 KB
9 Mar 2026 6.51 AM
root / root
0644
extract.js
2.738 KB
9 Mar 2026 6.51 AM
root / root
0644
get-write-flag.js
0.899 KB
9 Mar 2026 6.51 AM
root / root
0644
header.js
8.769 KB
9 Mar 2026 6.51 AM
root / root
0644
high-level-opt.js
0.742 KB
9 Mar 2026 6.51 AM
root / root
0644
large-numbers.js
2.128 KB
9 Mar 2026 6.51 AM
root / root
0644
list.js
3.092 KB
9 Mar 2026 6.51 AM
root / root
0644
mkdir.js
5.212 KB
9 Mar 2026 6.51 AM
root / root
0644
mode-fix.js
0.604 KB
9 Mar 2026 6.51 AM
root / root
0644
normalize-unicode.js
0.396 KB
9 Mar 2026 6.51 AM
root / root
0644
normalize-windows-path.js
0.4 KB
9 Mar 2026 6.51 AM
root / root
0644
pack.js
9.222 KB
9 Mar 2026 6.51 AM
root / root
0644
parse.js
13.856 KB
9 Mar 2026 6.51 AM
root / root
0644
path-reservations.js
4.205 KB
9 Mar 2026 6.51 AM
root / root
0644
pax.js
3.923 KB
9 Mar 2026 6.51 AM
root / root
0644
read-entry.js
2.715 KB
9 Mar 2026 6.51 AM
root / root
0644
replace.js
5.349 KB
9 Mar 2026 6.51 AM
root / root
0644
strip-absolute-path.js
0.896 KB
9 Mar 2026 6.51 AM
root / root
0644
strip-trailing-slashes.js
0.385 KB
9 Mar 2026 6.51 AM
root / root
0644
types.js
1.07 KB
9 Mar 2026 6.51 AM
root / root
0644
unpack.js
24.905 KB
9 Mar 2026 6.51 AM
root / root
0644
update.js
0.822 KB
9 Mar 2026 6.51 AM
root / root
0644
warn-mixin.js
0.681 KB
9 Mar 2026 6.51 AM
root / root
0644
winchars.js
0.522 KB
9 Mar 2026 6.51 AM
root / root
0644
write-entry.js
14.757 KB
9 Mar 2026 6.51 AM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF