REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 929 B
Close
/proc/self/root/proc/thread-self/root/opt/alt/alt-nodejs12/root/usr/lib/node_modules/npm/lib/doctor/verify-cached-files.js
Text
Base64
'use strict' const cacache = require('cacache') const log = require('npmlog') module.exports = verifyCachedFiles function verifyCachedFiles (cache, cb) { log.info('verifyCachedFiles', `Verifying cache at ${cache}`) cacache.verify(cache).then((stats) => { log.info('verifyCachedFiles', `Verification complete. Stats: ${JSON.stringify(stats, 2)}`) if (stats.reclaimedCount || stats.badContentCount || stats.missingContent) { stats.badContentCount && log.warn('verifyCachedFiles', `Corrupted content removed: ${stats.badContentCount}`) stats.reclaimedCount && log.warn('verifyCachedFiles', `Content garbage-collected: ${stats.reclaimedCount} (${stats.reclaimedSize} bytes)`) stats.missingContent && log.warn('verifyCachedFiles', `Missing content: ${stats.missingContent}`) log.warn('verifyCachedFiles', 'Cache issues have been fixed') } return stats }).then((s) => cb(null, s), cb) }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 6
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
check-files-permission.js
1.93 KB
lrw-r--r--
2026-03-09 07:21:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
check-ping.js
407 B
lrw-r--r--
2026-03-09 07:21:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
get-git-path.js
300 B
lrw-r--r--
2026-03-09 07:21:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
get-latest-nodejs-version.js
800 B
lrw-r--r--
2026-03-09 07:21:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
get-latest-npm-version.js
444 B
lrw-r--r--
2026-03-09 07:21:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
verify-cached-files.js
929 B
lrw-r--r--
2026-03-09 07:21:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).