MCPcopy Create free account
hub / github.com/TruthHun/BookStack / openZip

Function openZip

static/word2md/mammoth.browser.js:104–110  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

102exports.openZip = openZip;
103
104function openZip(options) {
105 if (options.arrayBuffer) {
106 return promises.resolve(zipfile.openArrayBuffer(options.arrayBuffer));
107 } else {
108 return promises.reject(new Error("Could not find file in options"));
109 }
110}
111
112},{"../lib/promises":23,"../lib/zipfile":38}],3:[function(require,module,exports){
113var _ = require("underscore");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected