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

Method remove

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

* Remove a session from the store. No-op if it doesn't exist.

(id: string)

Source from the content-addressed store, hash-verified

98 * Remove a session from the store. No-op if it doesn't exist.
99 */
100 remove(id: string): void
101
102 /**
103 * Increment the turn count for a session.

Callers 15

runMethod · 0.65
restore_fileMethod · 0.65
clean_up_local_configFunction · 0.65
apply_line_index_updatesFunction · 0.65
import_branchMethod · 0.65
parse_diff_filesFunction · 0.65
clean_up_local_configFunction · 0.65
remove_serverMethod · 0.65
handleSessionDeletedFunction · 0.65
session.test.tsFile · 0.65
remove_deny_ruleFunction · 0.65

Calls

no outgoing calls

Tested by 14

test_sequence_removeFunction · 0.52
test_removeFunction · 0.52
test_remove_nonexistentFunction · 0.52
del_trunkMethod · 0.52
update_trunk_pathMethod · 0.52
del_branchMethod · 0.52
del_leafMethod · 0.52
test_repo_remove_fileFunction · 0.52