refactor(extensions): remove unused private helpers · openclaw/openclaw@2a0aeb5
vincentkoc
·
2026-06-18
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -165,16 +165,6 @@ export async function writeMemoryCoreWorkspaceEntry(
|
165 | 165 | ); |
166 | 166 | } |
167 | 167 | |
168 | | -export async function deleteMemoryCoreWorkspaceEntry(params: { |
169 | | -namespace: string; |
170 | | -workspaceDir: string; |
171 | | -key: string; |
172 | | -}): Promise<boolean> { |
173 | | -return await openWorkspaceStore(params.namespace).delete( |
174 | | -memoryCoreWorkspaceEntryKey(params.workspaceDir, params.key), |
175 | | -); |
176 | | -} |
177 | | - |
178 | 168 | export async function clearMemoryCoreWorkspaceNamespace(params: { |
179 | 169 | namespace: string; |
180 | 170 | workspaceDir: string; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -2526,10 +2526,6 @@ export function resolveShortTermRecallStorePath(workspaceDir: string): string {
|
2526 | 2526 | return resolveStorePath(workspaceDir); |
2527 | 2527 | } |
2528 | 2528 | |
2529 | | -export function resolveShortTermPhaseSignalStorePath(workspaceDir: string): string { |
2530 | | -return resolvePhaseSignalPath(workspaceDir); |
2531 | | -} |
2532 | | - |
2533 | 2529 | export function resolveShortTermRecallLockPath(workspaceDir: string): string { |
2534 | 2530 | return resolveLockPath(workspaceDir); |
2535 | 2531 | } |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -104,10 +104,6 @@ export async function claimRecentInboundMessageDelivery(
|
104 | 104 | return claim.kind; |
105 | 105 | } |
106 | 106 | |
107 | | -export async function claimRecentInboundMessage(key: string): Promise<boolean> { |
108 | | -return (await claimRecentInboundMessageDelivery(key)) === "claimed"; |
109 | | -} |
110 | | - |
111 | 107 | export async function commitRecentInboundMessage(key: string): Promise<void> { |
112 | 108 | await claimableInboundMessages.commit(key); |
113 | 109 | } |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。