MCPcopy Create free account
hub / github.com/EvoMap/evolver / send

Function send

src/ops/trigger.js:10–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8var WAKE_FILE = path.join(getWorkspaceRoot(), 'memory', 'evolver_wake.signal');
9
10function send() {
11 try {
12 fs.writeFileSync(WAKE_FILE, 'WAKE');
13 console.log('[Trigger] Wake signal sent to ' + WAKE_FILE);
14 return true;
15 } catch (e) {
16 console.error('[Trigger] Failed: ' + e.message);
17 return false;
18 }
19}
20
21function clear() {
22 try { if (fs.existsSync(WAKE_FILE)) fs.unlinkSync(WAKE_FILE); } catch (e) {}

Callers 1

trigger.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected