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

Method commit

src/config/ServerConfig.ts:340–344  ·  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

338 * all shared {@link ReadonlyServerConfig} readers observe the new values.
339 */
340 commit(next: ServerConfig): void {
341 this.#cliArgs = next.#cliArgs;
342 this.#fileArgs = next.#fileArgs;
343 this.#resolved = next.#resolved;
344 }
345}

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