Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
methodToString: function(method) {
switch (method) {
case Constants.STORED:
return "STORED (" + method + ")";
case Constants.DEFLATED:
return "DEFLATED (" + method + ")";
default:
return "UNSUPPORTED (" + method + ")";
}
},
writeFileTo: function(path, content, overwrite, attr) {