MCPcopy Create free account
hub / github.com/dyoshikawa/rulesync / writeSettings

Function writeSettings

src/utils/augmentcode-settings.test.ts:23–27  ·  view source on GitHub ↗
(name: string, value: unknown)

Source from the content-addressed store, hash-verified

21 });
22
23 const writeSettings = async (name: string, value: unknown) => {
24 const dir = join(testDir, ".augment");
25 await ensureDir(dir);
26 await writeFileContent(join(dir, name), JSON.stringify(value));
27 };
28
29 it("returns the base content when the local overrides file is absent", async () => {
30 await writeSettings("settings.json", { toolPermissions: ["base"] });

Callers 1

Calls 2

ensureDirFunction · 0.85
writeFileContentFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…