Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/archlinux/alpm
/ vercmp
Method
vercmp
python-alpm/src/types/version.rs:227–229 ·
view source on GitHub ↗
(&self, other: FullVersion)
Source
from the content-addressed store, hash-verified
225
}
226
227
fn __str__(&self) -> String {
228
self.0.to_string()
229
}
230
231
pub fn __repr__(&self) -> String {
232
match self.0.epoch {
Callers
8
test_full_version_vercmp_equal
Function · 0.45
test_full_version_vercmp_newer
Function · 0.45
test_full_version_vercmp_older
Function · 0.45
test_full_version_vercmp_with_epoch
Function · 0.45
test_version_vercmp_equal
Function · 0.45
test_version_vercmp_newer
Function · 0.45
test_version_vercmp_older
Function · 0.45
test_version_vercmp_with_pkgrel
Function · 0.45
Calls
no outgoing calls
Tested by
8
test_full_version_vercmp_equal
Function · 0.36
test_full_version_vercmp_newer
Function · 0.36
test_full_version_vercmp_older
Function · 0.36
test_full_version_vercmp_with_epoch
Function · 0.36
test_version_vercmp_equal
Function · 0.36
test_version_vercmp_newer
Function · 0.36
test_version_vercmp_older
Function · 0.36
test_version_vercmp_with_pkgrel
Function · 0.36