MCPcopy Create free account
hub / github.com/saltstack/salt / can_have_dot_zero

Method can_have_dot_zero

salt/version.py:350–354  ·  view source on GitHub ↗

determine if using new versioning scheme

(self, major)

Source from the content-addressed store, hash-verified

348 return bool(int(major) >= 3000 and int(major) < VERSION_LIMIT)
349
350 def can_have_dot_zero(self, major):
351 """
352 determine if using new versioning scheme
353 """
354 return bool(int(major) >= 3006 and int(major) < VERSION_LIMIT)
355
356 @classmethod
357 def parse(cls, version_string):

Callers 4

__init__Method · 0.95
min_infoMethod · 0.95
stringMethod · 0.95
__repr__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected