From e7d23ea8cd151264f773dc9bcfa2bcc90fc13ef1 Mon Sep 17 00:00:00 2001 From: Neil <4138956+nwparker@users.noreply.github.com> Date: Thu, 3 Sep 2026 14:59:39 -0700 Subject: [PATCH] chore(persistence): keep the derivation predicate module-private --- .../loading-store/worktree-meta-alias-projection.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/persistence/loading-store/worktree-meta-alias-projection.ts b/src/main/persistence/loading-store/worktree-meta-alias-projection.ts index c5fe0df7d56..4789f38d445 100644 --- a/src/main/persistence/loading-store/worktree-meta-alias-projection.ts +++ b/src/main/persistence/loading-store/worktree-meta-alias-projection.ts @@ -43,10 +43,7 @@ function isPlainRecord(value: unknown): value is Record { * disagree about which key is derivable. `hostId` and `instanceId` are not in * `WORKTREE_META_PERSISTED_DEFAULTS`, so the answer is the same before and after default omission. */ -export function identityKeyDerivedFromLocatorRow( - alias: string, - locatorRow: unknown -): string | undefined { +function identityKeyDerivedFromLocatorRow(alias: string, locatorRow: unknown): string | undefined { if (!isPlainRecord(locatorRow)) { return undefined }