Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/archlinux/alpm
/ version
Method
version
python-alpm/src/types/relation.rs:111–113 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
109
110
#[getter]
111
fn version(&self) -> Option<crate::types::version::PackageVersion> {
112
self.0.version.clone().map(From::from)
113
}
114
115
fn __repr__(&self) -> String {
116
match self.version() {
Callers
1
__repr__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected