$14 GRAYBYTE WORDPRESS FILE MANAGER $61

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.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/alt-nodejs9/root/usr/lib/node_modules/npm/lib/doctor/

HOME
Current File : /opt/alt/alt-nodejs9/root/usr/lib/node_modules/npm/lib/doctor//verify-cached-files.js
'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)
}


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.42 PM
root / root
0755
check-files-permission.js
1.931 KB
28 Sep 2021 11.28 AM
root / root
0644
check-ping.js
0.304 KB
28 Sep 2021 11.28 AM
root / root
0644
get-git-path.js
0.293 KB
28 Sep 2021 11.28 AM
root / root
0644
get-latest-nodejs-version.js
0.781 KB
28 Sep 2021 11.28 AM
root / root
0644
get-latest-npm-version.js
0.434 KB
28 Sep 2021 11.28 AM
root / root
0644
verify-cached-files.js
0.907 KB
28 Sep 2021 11.28 AM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF