MCPcopy Index your code
hub / github.com/github/copilot-sdk / normalizeSqliteParams

Function normalizeSqliteParams

nodejs/src/sessionFsProvider.ts:98–112  ·  view source on GitHub ↗
(
    params?: Record<string, unknown>
)

Source from the content-addressed store, hash-verified

96}
97
98function normalizeSqliteParams(
99 params?: Record<string, unknown>
100): Record<string, string | number | null> | undefined {
101 if (!params) {
102 return undefined;
103 }
104
105 const normalized: Record<string, string | number | null> = {};
106 for (const [key, value] of Object.entries(params)) {
107 if (value !== undefined) {
108 normalized[key] = value as string | number | null;
109 }
110 }
111 return normalized;
112}
113
114/**
115 * Wraps a {@link SessionFsProvider} into the {@link SessionFsHandler}

Callers 1

createSessionFsAdapterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…