MCPcopy
hub / github.com/siyuan-note/siyuan / remove

Function remove

app/src/layout/dock/agent/SessionStore.ts:99–101  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

97 },
98
99 async remove(id: string): Promise<void> {
100 await fetchSyncPost(API + "/removeSession", {id}, APP_HEADER);
101 },
102
103 async rename(id: string, newTitle: string): Promise<void> {
104 const session = await this.load(id);

Callers

nothing calls this directly

Calls 1

fetchSyncPostFunction · 0.90

Tested by

no test coverage detected