Function
getOptionValue
(zipWriter, options, name, defaultValue)
Source from the content-addressed store, hash-verified
| 5803 | } |
| 5804 | |
| 5805 | function getOptionValue(zipWriter, options, name, defaultValue) { |
| 5806 | const result = options[name] === UNDEFINED_VALUE ? zipWriter.options[name] : options[name]; |
| 5807 | return result === UNDEFINED_VALUE ? defaultValue : result; |
| 5808 | } |
| 5809 | |
| 5810 | function getMaximumCompressedSize(uncompressedSize) { |
| 5811 | return uncompressedSize + (5 * (Math.floor(uncompressedSize / 16383) + 1)); |
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…