MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / writeUtf8

Function writeUtf8

scripts/__tests__/check-unicode-sync.test.mjs:12–15  ·  view source on GitHub ↗
(path, text)

Source from the content-addressed store, hash-verified

10import { checkUnicodeSync } from "../check-unicode-sync.mjs";
11
12function writeUtf8(path, text) {
13 mkdirSync(dirname(path), { recursive: true });
14 writeFileSync(path, text, "utf8");
15}
16
17function makeFixtureRoot() {
18 return mkdtempSync(join(tmpdir(), "rezi-unicode-sync-"));

Callers 3

writeCoreTsTablesFunction · 0.70
writeUnicodeHeaderFunction · 0.70
writeUnicodeIncFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected