MCPcopy Index your code
hub / github.com/reactnativecn/react-native-update / cloneServerConfig

Function cloneServerConfig

src/client.ts:63–66  ·  view source on GitHub ↗
(server: UpdateServerConfig)

Source from the content-addressed store, hash-verified

61};
62
63const cloneServerConfig = (server: UpdateServerConfig): UpdateServerConfig => ({
64 main: dedupeEndpoints([...(server.main || [])]),
65 queryUrls: server.queryUrls ? [...server.queryUrls] : undefined,
66});
67
68const excludeConfiguredEndpoints = (
69 endpoints: string[],

Callers 2

constructorMethod · 0.85
PushyClass · 0.85

Calls 1

dedupeEndpointsFunction · 0.90

Tested by

no test coverage detected