(scope: ServerScopeValue, dir: string, session: string, key: string, legacy?: string[])
| 503 | return serverWorkspaceTarget(ServerScope.local, dir, `session:${session}:${key}`, legacy) |
| 504 | }, |
| 505 | serverSession(scope: ServerScopeValue, dir: string, session: string, key: string, legacy?: string[]): PersistTarget { |
| 506 | return serverWorkspaceTarget(scope, dir, `session:${session}:${key}`, legacy) |
| 507 | }, |
| 508 | scoped(dir: string, session: string | undefined, key: string, legacy?: string[]): PersistTarget { |
| 509 | if (session) return Persist.session(dir, session, key, legacy) |
| 510 | return Persist.workspace(dir, key, legacy) |
nothing calls this directly
no test coverage detected