MCPcopy Create free account
hub / github.com/davewasmer/devcert / deleteProtectedFiles

Method deleteProtectedFiles

src/platforms/linux.ts:96–99  ·  view source on GitHub ↗
(filepath: string)

Source from the content-addressed store, hash-verified

94 }
95
96 deleteProtectedFiles(filepath: string) {
97 assertNotTouchingFiles(filepath, 'delete');
98 run('sudo', ['rm', '-rf', filepath]);
99 }
100
101 async readProtectedFile(filepath: string) {
102 assertNotTouchingFiles(filepath, 'read');

Callers

nothing calls this directly

Calls 2

assertNotTouchingFilesFunction · 0.90
runFunction · 0.90

Tested by

no test coverage detected