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

Function RESET

web-src/src/admin/store/script-config-module.js:103–109  ·  view source on GitHub ↗
(state, scriptName)

Source from the content-addressed store, hash-verified

101 },
102 mutations: {
103 RESET(state, scriptName) {
104 state.scriptName = scriptName;
105 state.scriptConfig = null;
106 state.scriptFilename = null;
107 state.error = null;
108 state.new = false;
109 },
110
111 SET_SCRIPT_CONFIG(state, {config, filename}) {
112 state.error = null;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected