REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 493 B
Close
/opt/alt/alt-nodejs16/root/usr/lib/node_modules/npm/node_modules/cacache/lib/content/rm.js
Text
Base64
'use strict' const util = require('util') const contentPath = require('./path') const { hasContent } = require('./read') const rimraf = util.promisify(require('rimraf')) module.exports = rm async function rm (cache, integrity) { const content = await hasContent(cache, integrity) // ~pretty~ sure we can't end up with a content lacking sri, but be safe if (content && content.sri) { await rimraf(contentPath(cache, content.sri)) return true } else { return false } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 4
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
path.js
737 B
lrw-r--r--
2026-03-09 06:51:26
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
read.js
6.06 KB
lrw-r--r--
2026-03-09 06:51:26
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
rm.js
493 B
lrw-r--r--
2026-03-09 06:51:26
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
write.js
5.11 KB
lrw-r--r--
2026-03-09 06:51:26
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).