MCPcopy Index your code
hub / github.com/hoothin/UserScripts / generateDosExternalFileAttr

Function generateDosExternalFileAttr

Picviewer CE+/dist.user.js:742–746  ·  view source on GitHub ↗
(dosPermissions, isDir)

Source from the content-addressed store, hash-verified

740 * Bit 5 Archive
741 */
742var generateDosExternalFileAttr = function (dosPermissions, isDir) {
743
744 // the dir flag is already set for compatibility
745 return (dosPermissions || 0) & 0x3F;
746};
747
748/**
749 * 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