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

Function ADD_FILE

web-src/src/main-app/store/scriptExecutor.js:157–159  ·  view source on GitHub ↗
(state, file)

Source from the content-addressed store, hash-verified

155 },
156
157 ADD_FILE(state, file) {
158 state.downloadableFiles.push(file);
159 },
160
161 ADD_INLINE_IMAGE(state, {output_path, download_url}) {
162 Vue.set(state.inlineImages, output_path, download_url);

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected