(key: &str, minimum_version: u32)
| 87 | |
| 88 | impl RequiredRepositoryCapability { |
| 89 | pub(crate) fn from_metadata(key: &str, minimum_version: u32) -> Option<Self> { |
| 90 | key.strip_prefix(REQUIRED_CAPABILITY_PREFIX).map(|id| Self { |
| 91 | id: id.to_string(), |
| 92 | minimum_version, |
| 93 | }) |
| 94 | } |
| 95 | } |
| 96 | |
| 97 | /// A requirement unsupported by the current Atomic build. |
nothing calls this directly
no outgoing calls
no test coverage detected