MCPcopy Create free account
hub / github.com/ChromeDevTools/chrome-devtools-mcp / commit

Method commit

src/config/ServerConfig.ts:334–338  ·  view source on GitHub ↗

* Commits a previously validated ServerConfig snapshot in place so * all shared ReadonlyServerConfig readers observe the new values.

(next: ServerConfig)

Source from the content-addressed store, hash-verified

332 * all shared {@link ReadonlyServerConfig} readers observe the new values.
333 */
334 commit(next: ServerConfig): void {
335 this.#cliArgs = next.#cliArgs;
336 this.#fileArgs = next.#fileArgs;
337 this.#resolved = next.#resolved;
338 }
339}

Callers 7

#applyConfigLockedMethod · 0.80
McpPage.test.tsFile · 0.80
browser.test.tsFile · 0.80
updateConfigFunction · 0.80

Calls

no outgoing calls

Tested by 1

updateConfigFunction · 0.64