MCPcopy
hub / github.com/Dokploy/dokploy / deletePatch

Function deletePatch

packages/server/src/services/patch.ts:101–108  ·  view source on GitHub ↗
(patchId: string)

Source from the content-addressed store, hash-verified

99};
100
101export const deletePatch = async (patchId: string) => {
102 const result = await db
103 .delete(patch)
104 .where(eq(patch.patchId, patchId))
105 .returning();
106
107 return result[0];
108};
109
110export const markPatchForDeletion = async (
111 filePath: string,

Callers 1

patch.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected