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

Method pre_index

salt/version.py:494–501  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

492
493 @property
494 def pre_index(self):
495 if self.new_version(self.major):
496 pre_type = 2
497 if not isinstance(self.minor, int):
498 pre_type = 1
499 else:
500 pre_type = 4
501 return pre_type
502
503 def __str__(self):
504 return self.string

Callers

nothing calls this directly

Calls 1

new_versionMethod · 0.95

Tested by

no test coverage detected