MCPcopy Create free account
hub / github.com/CoderLuii/HolyClaude / writeSource

Function writeSource

scripts/patch-cloudcli-web-terminal-rendering.mjs:74–80  ·  view source on GitHub ↗
(path, source)

Source from the content-addressed store, hash-verified

72}
73
74function writeSource(path, source) {
75 try {
76 writeFileSync(path, source);
77 } catch {
78 fail();
79 }
80}
81
82function replaceRequired(source, oldText, newText) {
83 if (source.includes(newText)) {

Callers 2

patchServerFunction · 0.70
patchIndexFunction · 0.70

Calls 1

failFunction · 0.85

Tested by

no test coverage detected