(A, B)
| 4596 | if (actualValue[actualValue.length - 2] === "=") { |
| 4597 | actualValue = actualValue.slice(0, -2); |
| 4598 | } else { |
| 4599 | actualValue = actualValue.slice(0, -1); |
| 4600 | } |
| 4601 | } |
| 4602 | if (compareBase64Mixed(actualValue, expectedValue)) { |
| 4603 | return true; |
| 4604 | } |
| 4605 | } |
| 4606 | return false; |
| 4607 | } |
| 4608 | var parseHashWithOptions = new RegExp("(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\\s|$)( +[!-~]*)?)?", "i"); |
| 4609 | function parseMetadata(metadata) { |
no outgoing calls
no test coverage detected