Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /randovania_randovania /randovania /lib /version_lib.py
| from packaging.version import Version | |
| import randovania | |
| def parse_string(version_name: str) -> Version: | |
| version_name = version_name.replace("-dirty", "") | |
| version = Version(version_name) | |
| if version.is_devrelease: | |
| return Version(version.base_version) | |
| else: | |
| return version | |
| def current_version() -> Version: | |
| return parse_string(randovania.VERSION) | |
| __all__ = ["Version", "parse_string"] | |
Xet Storage Details
- Size:
- 425 Bytes
- Xet hash:
- ef6c944db9c88459815f3ea570f50e1594952cde17072e9e79433213c8a6b04e
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.