MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / has

Method has

packages/opencode-atomic-hooks/src/session.ts:95–95  ·  view source on GitHub ↗

* Check whether a session exists without creating it.

(id: string)

Source from the content-addressed store, hash-verified

93 * Check whether a session exists without creating it.
94 */
95 has(id: string): boolean
96
97 /**
98 * Remove a session from the store. No-op if it doesn't exist.

Callers 12

walkFunction · 0.65
ensureFunction · 0.65
AtomicHooksPluginFunction · 0.65
hasFunction · 0.65
isEditToolFunction · 0.65
isSessionStartedFunction · 0.65
handleSessionErrorFunction · 0.65
session.test.tsFile · 0.65
handlers.test.tsFile · 0.65
fmtMethod · 0.65
total_section_countMethod · 0.65
validateMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected