MCPcopy Create free account
hub / github.com/buct2012dbl/Dorchestrator / deleteFile

Method deleteFile

coding-agent/src/context/database.ts:106–109  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

104 }
105
106 deleteFile(path: string): void {
107 const stmt = this.db.prepare('DELETE FROM files WHERE path = ?');
108 stmt.run(path);
109 }
110
111 getAllFiles(): FileRecord[] {
112 const stmt = this.db.prepare('SELECT * FROM files ORDER BY path');

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected