mirror of
https://github.com/swift-server/RediStack.git
synced 2026-05-03 07:32:28 +00:00
8bf26fb661
Motivation: `RedisKeyLifetime` already has "RedisKey" as a prefix so it naturally fits as a nested type. Modifications: - Change: `RedisKeyLifetime` to be nested in `RedisKey` and named `Lifetime` - Rename: `RedisKeyLifetime.Lifetime` to `Duration` - Deprecate: `RedisKeyLifetime` and the nested type `Lifetime` Result: The global namespace is a little less cluttered with the types falling naturally where they already are.