MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / isWriteOperation

Function isWriteOperation

packages/db/src/session-consistency.ts:39–40  ·  view source on GitHub ↗
(operation: string)

Source from the content-addressed store, hash-verified

37];
38
39const isWriteOperation = (operation: string) =>
40 WRITE_OPERATIONS.includes(operation as Operation);
41
42const isReadOperation = (operation: string) =>
43 READ_OPERATIONS.includes(operation as Operation);

Callers 1

sessionConsistencyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected