(now_ms: i64, target_ms: i64)
| 264 | } |
| 265 | |
| 266 | fn seconds_until_ms(now_ms: i64, target_ms: i64) -> i64 { |
| 267 | if target_ms <= 0 { |
| 268 | return 0; |
| 269 | } |
| 270 | target_ms.saturating_sub(now_ms).max(0) / 1000 |
| 271 | } |
| 272 | |
| 273 | pub fn refresh_strategy_name(strategy: i32) -> &'static str { |
| 274 | match ProviderCredentialRefreshStrategy::try_from(strategy) |
nothing calls this directly
no outgoing calls
no test coverage detected