BuildXL.Cache.ContentStore.Distributed.NuCache.RedisGlobalStore.GetRedisKey C# (CSharp) Метод

GetRedisKey() статический приватный Метод

static private GetRedisKey ( BuildXL.Cache.ContentStore.Distributed.NuCache.ShortHash hash ) : string
hash BuildXL.Cache.ContentStore.Distributed.NuCache.ShortHash
Результат string
        internal static string GetRedisKey(ShortHash hash)
        {
            // Use the string representation short hash used in other parts of the system (db and event stream) as the redis key
            // ShortHash.ToString had a bug when only 10 bytes of the hash were printed.
            // Even though the bug is fixed, this method should return the same (old, i.e. shorter) representation
            // to avoid braking the world after the new version is deployed.
            return hash.ToString(ShortHash.HashLength - 1);
        }