MCPcopy
hub / github.com/Doorman11991/smallcode / write

Function write

test/skills.test.js:19–22  ·  view source on GitHub ↗
(file, content)

Source from the content-addressed store, hash-verified

17}
18
19function write(file, content) {
20 fs.mkdirSync(path.dirname(file), { recursive: true });
21 fs.writeFileSync(file, content);
22}
23
24test('issue #52: skill files with CRLF frontmatter parse correctly', () => {
25 const dir = freshProject();

Callers 1

skills.test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected