MCPcopy
hub / github.com/continuedev/continue / stringify

Function stringify

core/config/util.ts:16–24  ·  view source on GitHub ↗
(obj: any, indentation?: number)

Source from the content-addressed store, hash-verified

14import { editConfigFile } from "../util/paths";
15
16function stringify(obj: any, indentation?: number): string {
17 return JSON.stringify(
18 obj,
19 (key, value) => {
20 return value === null ? undefined : value;
21 },
22 indentation,
23 );
24}
25
26export function addModel(
27 model: JSONModelDescription,

Callers 1

addModelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected