MCPcopy
hub / github.com/thinkjs/thinkjs / file

Function file

lib/extend/controller.js:176–178  ·  view source on GitHub ↗

* get or set file data * @param {String} name * @param {Mixed} value

(name, value)

Source from the content-addressed store, hash-verified

174 * @param {Mixed} value
175 */
176 file(name, value) {
177 return this.ctx.file(name, value);
178 },
179 /**
180 * get or set cookies
181 * @param {String} name

Callers

nothing calls this directly

Calls 1

fileMethod · 0.65

Tested by

no test coverage detected