Home
last modified time | relevance | path

Searched refs:needVer (Results 1 – 1 of 1) sorted by relevance

/third_party/node/deps/npm/node_modules/sshpk/lib/
Dutils.js36 function isCompatible(obj, klass, needVer) { argument
39 if (needVer === undefined)
40 needVer = klass.prototype._sshpkApiVersion;
42 klass.prototype._sshpkApiVersion[0] == needVer[0])
56 if (ver[0] != needVer[0] || ver[1] < needVer[1])
61 function assertCompatible(obj, klass, needVer, name) { argument
66 if (needVer === undefined)
67 needVer = klass.prototype._sshpkApiVersion;
69 klass.prototype._sshpkApiVersion[0] == needVer[0])
83 assert.ok(ver[0] == needVer[0] && ver[1] >= needVer[1],
[all …]