MCPcopy Create free account
hub / github.com/PostHog/duckgres / cloneSharedWorkerState

Function cloneSharedWorkerState

controlplane/worker_state.go:245–250  ·  view source on GitHub ↗
(state SharedWorkerState)

Source from the content-addressed store, hash-verified

243}
244
245func cloneSharedWorkerState(state SharedWorkerState) SharedWorkerState {
246 return SharedWorkerState{
247 Lifecycle: state.NormalizedLifecycle(),
248 Assignment: cloneWorkerAssignment(state.Assignment),
249 }
250}

Callers 2

SharedStateMethod · 0.85
SetSharedStateMethod · 0.85

Calls 2

cloneWorkerAssignmentFunction · 0.85
NormalizedLifecycleMethod · 0.80

Tested by

no test coverage detected