MCPcopy Create free account
hub / github.com/thinkjs/thinkjs / download

Function download

lib/extend/controller.js:298–300  ·  view source on GitHub ↗

* download * @param {String} filepath * @param {String} filename

(filepath, filename)

Source from the content-addressed store, hash-verified

296 * @param {String} filename
297 */
298 download(filepath, filename) {
299 return this.ctx.download(filepath, filename);
300 }
301};

Callers

nothing calls this directly

Calls 1

downloadMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…