MCPcopy Create free account
hub / github.com/Syncplay/syncplay / meetsMinVersion

Function meetsMinVersion

syncplay/utils.py:405–408  ·  view source on GitHub ↗
(version, minVersion)

Source from the content-addressed store, hash-verified

403
404
405def meetsMinVersion(version, minVersion):
406 def versiontotuple(ver):
407 return tuple(map(int, ver.split(".")))
408 return versiontotuple(version) >= versiontotuple(minVersion)
409
410
411def isURL(path):

Callers 2

getFeaturesMethod · 0.90
getMotdMethod · 0.90

Calls 1

versiontotupleFunction · 0.85

Tested by

no test coverage detected