MCPcopy Index your code
hub / github.com/saltstack/salt / new_version

Method new_version

salt/version.py:344–348  ·  view source on GitHub ↗

determine if using new versioning scheme

(self, major)

Source from the content-addressed store, hash-verified

342 self.sha = sha
343
344 def new_version(self, major):
345 """
346 determine if using new versioning scheme
347 """
348 return bool(int(major) >= 3000 and int(major) < VERSION_LIMIT)
349
350 def can_have_dot_zero(self, major):
351 """

Callers 9

__init__Method · 0.95
min_infoMethod · 0.95
stringMethod · 0.95
formatted_versionMethod · 0.95
pre_indexMethod · 0.95
__compare__Method · 0.95
__repr__Method · 0.95
test_mocked_objectsFunction · 0.95
__discover_versionFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_mocked_objectsFunction · 0.76