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

Function generateDosExternalFileAttr

static/word2md/mammoth.browser.js:13080–13085  ·  view source on GitHub ↗
(dosPermissions, isDir)

Source from the content-addressed store, hash-verified

13078 * Bit 5 Archive
13079 */
13080var generateDosExternalFileAttr = function (dosPermissions, isDir) {
13081
13082 // the dir flag is already set for compatibility
13083
13084 return (dosPermissions || 0) & 0x3F;
13085};
13086
13087/**
13088 * Generate the various parts used in the construction of the final zip file.

Callers 1

generateZipPartsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected