Define a repository capability supported by this build.
(id: &'static str, minimum_version: u32)
| 55 | impl RepositoryCapability { |
| 56 | /// Define a repository capability supported by this build. |
| 57 | pub const fn new(id: &'static str, minimum_version: u32) -> Self { |
| 58 | Self { |
| 59 | id, |
| 60 | minimum_version, |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | /// Stable capability identifier stored in pristine metadata. |
| 65 | pub const fn id(self) -> &'static str { |
nothing calls this directly
no outgoing calls
no test coverage detected