MCPcopy Index your code
hub / github.com/TruthHun/BookStack / readXmlFromZipFile

Function readXmlFromZipFile

static/word2md/mammoth.browser.js:1882–1890  ·  view source on GitHub ↗
(docxFile, path)

Source from the content-addressed store, hash-verified

1880
1881
1882function readXmlFromZipFile(docxFile, path) {
1883 if (docxFile.exists(path)) {
1884 return docxFile.read(path, "utf-8")
1885 .then(stripUtf8Bom)
1886 .then(read);
1887 } else {
1888 return promises.resolve(null);
1889 }
1890}
1891
1892
1893function stripUtf8Bom(xmlString) {

Callers 2

xmlFileReaderFunction · 0.70
readXmlFileWithBodyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected