MCPcopy Create free account
hub / github.com/bugy/script-server / SET_LOG

Function SET_LOG

web-src/src/main-app/store/scriptExecutor.js:139–147  ·  view source on GitHub ↗
(state, log)

Source from the content-addressed store, hash-verified

137 },
138
139 SET_LOG(state, log) {
140 if (!log) {
141 state.logChunks = [];
142 } else if (Array.isArray(log)) {
143 state.logChunks = log;
144 } else {
145 state.logChunks = [log];
146 }
147 },
148
149 ADD_LOG_CHUNK(state, chunk) {
150 state.logChunks.push(chunk);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected