MCPcopy Index your code
hub / github.com/scality/cloudserver / checkIntegerHeader

Function checkIntegerHeader

tests/functional/aws-node-sdk/test/object/get.js:54–56  ·  view source on GitHub ↗
(integerHeader, expectedSize)

Source from the content-addressed store, hash-verified

52}
53
54function checkIntegerHeader(integerHeader, expectedSize) {
55 assert.strictEqual(Number.parseInt(integerHeader, 10), expectedSize);
56}
57
58function dateFromNow(diff) {
59 const d = new Date();

Callers 2

checkGetObjectPartFunction · 0.85
get.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected