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

Function exists

static/word2md/mammoth.browser.js:3842–3844  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

3840function openArrayBuffer(arrayBuffer) {
3841 var zipFile = new JSZip(arrayBuffer);
3842 function exists(name) {
3843 return zipFile.file(name) !== null;
3844 }
3845
3846 function read(name, encoding) {
3847 var array = zipFile.file(name).asUint8Array();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected