Uname : Linux serv1.rebootns.com 5.14.0-570.62.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 10:10:59 EST 2025 x86_64
Soft : LiteSpeed
Ip : 139.99.125.122
Port : 443
~
/
opt
/
alt
/
alt-nodejs24
/
root
/
lib
/
node_modules
/
npm
/
node_modules
/
cacache
/
lib
/
content
[ HOME ]
Exec
Submit
File Name : rm.js
'use strict' const fs = require('fs/promises') const contentPath = require('./path') const { hasContent } = require('./read') 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 fs.rm(contentPath(cache, content.sri), { recursive: true, force: true }) return true } else { return false } }
Back
Folder Name
Submit
File Name
File Content
Submit
Name
Type
Size
Permission
Last Modified
Actions
.
dir
-
0755
2025-11-16 11:16:22
..
dir
-
0755
2025-11-16 11:16:22
path.js
file
737 B
0644
2025-08-25 03:00:59
read.js
file
4.18 KB
0644
2025-08-25 03:00:59
rm.js
file
481 B
0644
2025-08-25 03:00:59
write.js
file
5.61 KB
0644
2025-08-25 03:00:59