MCPcopy Create free account
hub / github.com/Snapchat/Valdi / updating

Method updating

npm_modules/cli/src/utils/jsonUtils.ts:25–29  ·  view source on GitHub ↗
(path: JSONPath, value: unknown, options: ModificationOptions)

Source from the content-addressed store, hash-verified

23 }
24
25 updating(path: JSONPath, value: unknown, options: ModificationOptions): JSONCFile<T> {
26 const edits = modify(this.content, path, value, options);
27
28 return new JSONCFile(applyEdits(this.content, edits), this.value);
29 }
30}

Callers 2

updateTsConfigFileFunction · 0.80
processLaunchJSONFileFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected